Skip to content

Commit 1e58305

Browse files
committed
metal : print resource path
ggml-ci
1 parent 847d806 commit 1e58305

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ggml-metal.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,9 @@ static void ggml_metal_log(enum ggml_log_level level, const char * format, ...){
235235

236236
NSString * sourcePath;
237237
NSString * ggmlMetalPathResources = [[NSProcessInfo processInfo].environment objectForKey:@"GGML_METAL_PATH_RESOURCES"];
238+
239+
GGML_METAL_LOG_INFO("%s: GGML_METAL_PATH_RESOURCES = %s\n", __func__, ggmlMetalPathResources ? [ggmlMetalPathResources UTF8String] : "nil");
240+
238241
if (ggmlMetalPathResources) {
239242
sourcePath = [ggmlMetalPathResources stringByAppendingPathComponent:@"ggml-metal.metal"];
240243
} else {

0 commit comments

Comments
 (0)