Compare commits

...

2 Commits

Author SHA1 Message Date
slaren 14c104d166
Update ggml.c 2024-05-15 18:46:01 +02:00
slaren f2aabab436
Update ggml.c 2024-05-15 18:45:54 +02:00
1 changed files with 2 additions and 2 deletions

4
ggml.c
View File

@ -19665,7 +19665,7 @@ static void ggml_graph_compute_thread_sync_node(int * node_n, struct ggml_comput
* node_n = atomic_load(&state->shared->node_n);
if (* node_n != last_node_n) break;
#if defined(__SSE3__)
//Tell the processor we're spinning. It's a processor hint for spinlocks.
// Tell the processor we're spinning. It's a processor hint for spinlocks.
_mm_pause();
#endif
}
@ -19683,7 +19683,7 @@ static void ggml_graph_compute_thread_sync_task(int * task_phase, struct ggml_co
* task_phase = atomic_load(&state->shared->node_task);
if (* task_phase != last_task_phase) break;
#if defined(__SSE3__)
//Tell the processor we're spinning. It's a processor hint for spinlocks.
// Tell the processor we're spinning. It's a processor hint for spinlocks.
_mm_pause();
#endif
}