]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
metal : option to embed MSL source into compiled binary (#1842)
authorDidzis Gosko <redacted>
Sun, 11 Feb 2024 14:41:41 +0000 (16:41 +0200)
committerGitHub <redacted>
Sun, 11 Feb 2024 14:41:41 +0000 (16:41 +0200)
commit163e74b6c362dd1e0ccb2a0cd6e32bce90f2b413
treea89e1ab2f4ca98fa8b9f4f9f46c063455e407814
parentf273e66dc6ffdb37ee7e1b86946ba6a7cd12091a
metal : option to embed MSL source into compiled binary (#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
CMakeLists.txt
Makefile
ggml-metal.m