|
@@ -152,7 +152,7 @@ struct ggml_metal_context * ggml_metal_init(int n_cb) {
|
|
|
|
|
|
//NSString * path = [[NSBundle mainBundle] pathForResource:@"../../examples/metal/metal" ofType:@"metal"];
|
|
|
NSBundle * bundle = [NSBundle bundleForClass:[GGMLMetalClass class]];
|
|
|
- NSString * path = [bundle pathForResource:@"llama/ggml-metal" ofType:@"metal"];
|
|
|
+ NSString * path = [bundle pathForResource:@"ggml-metal" ofType:@"metal"];
|
|
|
fprintf(stderr, "%s: loading '%s'\n", __func__, [path UTF8String]);
|
|
|
|
|
|
NSString * src = [NSString stringWithContentsOfFile:path encoding:NSUTF8StringEncoding error:&error];
|