Skip to content

Commit 847d806

Browse files
committed
metal : fix assert
1 parent 670fb48 commit 847d806

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml-metal.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2093,7 +2093,7 @@ void ggml_backend_metal_set_n_cb(ggml_backend_t backend, int n_cb) {
20932093
}
20942094

20952095
bool ggml_backend_metal_supports_family(ggml_backend_t backend, int family) {
2096-
GGML_UNUSED(ggml_backend_is_metal(backend));
2096+
GGML_ASSERT(ggml_backend_is_metal(backend));
20972097

20982098
struct ggml_metal_context * ctx = (struct ggml_metal_context *)backend->context;
20992099

0 commit comments

Comments
 (0)