mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2025-01-09 10:11:44 +00:00
+ ggml-opencl.c
This commit is contained in:
parent
dc61b7c682
commit
2dc7fc9491
@ -11,7 +11,7 @@ let package = Package(
|
|||||||
.target(
|
.target(
|
||||||
name: "llama",
|
name: "llama",
|
||||||
path: ".",
|
path: ".",
|
||||||
sources: ["ggml.c", "llama.cpp"],
|
sources: ["ggml.c", "llama.cpp", "ggml-opencl.c"],
|
||||||
publicHeadersPath: "spm-headers",
|
publicHeadersPath: "spm-headers",
|
||||||
cSettings: [.unsafeFlags(["-Wno-shorten-64-to-32"]), .define("GGML_USE_ACCELERATE"), .define("GGML_USE_CLBLAST")],
|
cSettings: [.unsafeFlags(["-Wno-shorten-64-to-32"]), .define("GGML_USE_ACCELERATE"), .define("GGML_USE_CLBLAST")],
|
||||||
linkerSettings: [.linkedFramework("Accelerate"), .linkedFramework("OpenCL")]
|
linkerSettings: [.linkedFramework("Accelerate"), .linkedFramework("OpenCL")]
|
||||||
|
Loading…
Reference in New Issue
Block a user