opencl : fix double initialization
This commit is contained in:
parent
6dcc42bd6b
commit
42aa835c58
1 changed files with 1 additions and 0 deletions
|
@ -934,6 +934,7 @@ void ggml_cl_init(void) {
|
||||||
if (initialized) {
|
if (initialized) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
initialized = true;
|
||||||
|
|
||||||
cl_int err;
|
cl_int err;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue