fixed a bug that resulted in the program hanging
This commit is contained in:
parent
66533c8424
commit
693f6493e5
1 changed files with 3 additions and 2 deletions
3
ggml.c
3
ggml.c
|
@ -16573,7 +16573,8 @@ static thread_ret_t ggml_graph_compute_thread(void * data) {
|
|||
}
|
||||
|
||||
node_n = atomic_load(&state->shared->node_n);
|
||||
} while (node_n == last);
|
||||
if (node_n != last) break;
|
||||
};
|
||||
}
|
||||
|
||||
// check if we should stop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue