Skip to content

Commit

Permalink
Fix the sig_handler check
Browse files Browse the repository at this point in the history
  • Loading branch information
angeloskath committed Mar 8, 2025
1 parent 3ad9031 commit 127de88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlx/backend/metal/kernels/fence.metal
Original file line number Diff line number Diff line change
Expand Up @@ -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) {

This comment has been minimized.

Copy link
@awni

awni Mar 8, 2025

Member

Sorry for that.. good catch!

if (timestamp[0] >= value || sig_handler[0] > 0) {
break;
}
}
Expand Down

0 comments on commit 127de88

Please sign in to comment.