We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4643ad commit 7226483Copy full SHA for 7226483
ggml.c
@@ -18992,7 +18992,7 @@ static void ggml_barrier(struct ggml_compute_state * state) {
18992
// wait for other threads
18993
//while (atomic_load(n_barrier_passed) == passed_old) {
18994
//}
18995
- const int n_spin_before_sleep = 100;
+ const int n_spin_before_sleep = 100000;
18996
while (true) {
18997
for (int i = 0; i < n_spin_before_sleep; i++) {
18998
if (atomic_load(n_barrier_passed) != passed_old) {
0 commit comments