8000 cont : fix unused · ggml-org/llama.cpp@21850f6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 21850f6

Browse files
committed
cont : fix unused
ggml-ci
1 parent b20518f commit 21850f6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ggml/src/ggml-metal/ggml-metal.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
9207
@@ -1078,6 +1078,8 @@ static bool ggml_backend_metal_buffer_rset_init(struct ggml_backend_metal_buffer
10781078

10791079
return true;
10801080
}
1081+
#else
1082+
GGML_UNUSED(device);
10811083
#endif
10821084

10831085
ctx->rset = nil;
@@ -1095,6 +1097,8 @@ static void ggml_backend_metal_buffer_rset_free(struct ggml_backend_metal_buffer
10951097
[ctx->rset release];
10961098
}
10971099
}
1100+
#else
1101+
GGML_UNUSED(ctx);
10981102
#endif
10991103
}
11001104

0 commit comments

Comments
 (0)
0