From e1f38375ea025995283d64642ac96e1b17ca775d Mon Sep 17 00:00:00 2001 From: Meng Zhang Date: Thu, 26 Oct 2023 12:27:24 -0700 Subject: [PATCH] fix compiling --- ggml-metal.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ggml-metal.m b/ggml-metal.m index 61026ed5e34d0..eb76fc47c3cb2 100644 --- a/ggml-metal.m +++ b/ggml-metal.m @@ -128,7 +128,7 @@ // MSL code // TODO: move the contents here when ready // for now it is easier to work in a separate file -static NSString * const msl_library_source = @"see metal.metal"; +// static NSString * const msl_library_source = @"see metal.metal"; // Here to assist with NSBundle Path Hack @interface GGMLMetalClass : NSObject @@ -247,6 +247,7 @@ static void ggml_metal_log(enum ggml_log_level level, const char* format, ...){ return NULL; } } +#endif // load kernels {