Skip to content

Commit 00a49c2

Browse files
committed
another CI fix
1 parent 8572313 commit 00a49c2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test-conv2d.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ void load_model(test_model & model, int ic, int oc, int iw, int ih, int kw = 3,
9999
fprintf(stderr, "%s: ggml_backend_cuda_init() failed\n", __func__);
100100
}
101101
}
102+
#else
103+
GGML_UNUSED(use_gpu);
102104
#endif
103105

104106
#ifdef GGML_USE_METAL
@@ -109,6 +111,8 @@ void load_model(test_model & model, int ic, int oc, int iw, int ih, int kw = 3,
109111
fprintf(stderr, "%s: ggml_backend_metal_init() failed\n", __func__);
110112
}
111113
}
114+
#else
115+
GGML_UNUSED(use_gpu);
112116
#endif
113117

114118
if(!model.backend) {

0 commit comments

Comments
 (0)