mirror of
https://github.com/ml-explore/mlx.git
synced 2025-06-24 01:17:26 +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::memory_order_seq_cst,
|
||||
metal::thread_scope_system);
|
||||
if (timestamp[0] >= value || sig_handler[0] >= 0) {
|
||||
if (timestamp[0] >= value || sig_handler[0] > 0) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user