opencl : fix double initialization

This commit is contained in:
slaren 2024-01-11 12:00:18 +01:00
parent 6dcc42bd6b
commit 42aa835c58

View file

@ -934,6 +934,7 @@ void ggml_cl_init(void) {
if (initialized) { if (initialized) {
return; return;
} }
initialized = true;
cl_int err; cl_int err;