]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
metal : option to embed MSL source into compiled binary (whisper/1842)
authorDidzis Gosko <redacted>
Sun, 11 Feb 2024 14:41:41 +0000 (16:41 +0200)
committerGeorgi Gerganov <redacted>
Mon, 19 Feb 2024 13:09:43 +0000 (15:09 +0200)
commit890559ab28e354052e16e770155ad007fd0856e8
tree93e5435f8895cf4c5925eac3cc5a32f6ec7dbe0b
parentd0e3ce51f45bd6a646da1952d7e5d143a087db3e
metal : option to embed MSL source into compiled binary (whisper/1842)

* ggml : embed Metal library source (ggml-metal.metal) into binary

enable by setting WHISPER_EMBED_METAL_LIBRARY

* rename the build option

* rename the preprocessor directive

* generate Metal library embedding assembly on-fly during build process
ggml-metal.m