From 2dc7fc9491e58cf9bb575e1c23f27a2d2017e037 Mon Sep 17 00:00:00 2001 From: Jed Fox Date: Sat, 6 May 2023 21:35:00 -0400 Subject: [PATCH] + ggml-opencl.c --- Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index a9e3691f2..b33230d12 100644 --- a/Package.swift +++ b/Package.swift @@ -11,7 +11,7 @@ let package = Package( .target( name: "llama", path: ".", - sources: ["ggml.c", "llama.cpp"], + sources: ["ggml.c", "llama.cpp", "ggml-opencl.c"], publicHeadersPath: "spm-headers", cSettings: [.unsafeFlags(["-Wno-shorten-64-to-32"]), .define("GGML_USE_ACCELERATE"), .define("GGML_USE_CLBLAST")], linkerSettings: [.linkedFramework("Accelerate"), .linkedFramework("OpenCL")]