Update ggml-metal.m
This commit is contained in:
parent
00ae2aa3c0
commit
6df45c1730
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ struct ggml_metal_context * ggml_metal_init(int n_cb) {
|
|||
GGML_METAL_LOG_INFO("%s: default.metallib not found, loading from source\n", __func__);
|
||||
|
||||
NSString * sourcePath = [bundle pathForResource:@"ggml-metal" ofType:@"metal"];
|
||||
if(sourcePath == nil) {
|
||||
if (sourcePath == nil) {
|
||||
GGML_METAL_LOG_WARN("%s: error: could not use bundle path to find ggml-metal.metal, falling back to trying cwd\n", __func__);
|
||||
sourcePath = @"ggml-metal.metal";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue