mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-11-03 09:22:01 +00:00 
			
		
		
		
	+ ggml-opencl.c
This commit is contained in:
		@@ -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")]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user