mirror of
https://github.com/ml-explore/mlx.git
synced 2025-06-25 18:11:15 +08:00
Fix the sig_handler check
This commit is contained in:
parent
3ad9031a7f
commit
127de8821e
@ -46,7 +46,7 @@ constexpr constant metal::thread_scope thread_scope_system =
|
|||||||
metal::mem_flags::mem_device,
|
metal::mem_flags::mem_device,
|
||||||
metal::memory_order_seq_cst,
|
metal::memory_order_seq_cst,
|
||||||
metal::thread_scope_system);
|
metal::thread_scope_system);
|
||||||
if (timestamp[0] >= value || sig_handler[0] >= 0) {
|
if (timestamp[0] >= value || sig_handler[0] > 0) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user