"docs/git@developer.sourcefind.cn:OpenDAS/torchaudio.git" did not exist on "f177a8d5e14712756d7a2274b92b352f5cc0b42d"
Commit cb55fa92 authored by Michael Yang's avatar Michael Yang
Browse files

enable accelerate

parent 93bc9f17
...@@ -3,7 +3,7 @@ package llama ...@@ -3,7 +3,7 @@ package llama
/* /*
#cgo CPPFLAGS: -O3 -DNDEBUG=1 #cgo CPPFLAGS: -O3 -DNDEBUG=1
#cgo CXXFLAGS: -std=c++11 #cgo CXXFLAGS: -std=c++11
#cgo darwin CPPFLAGS: -DGGML_USE_METAL=1 -DGGML_METAL_NDEBUG=1 #cgo darwin CPPFLAGS: -DGGML_USE_ACCELERATE -DGGML_USE_METAL -DGGML_METAL_NDEBUG
#cgo darwin LDFLAGS: -framework Accelerate -framework Foundation -framework Metal -framework MetalKit -framework MetalPerformanceShaders #cgo darwin LDFLAGS: -framework Accelerate -framework Foundation -framework Metal -framework MetalKit -framework MetalPerformanceShaders
#include <stdlib.h> #include <stdlib.h>
#include "llama.h" #include "llama.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment