You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let summary = "Broadcast and compare a value across threads in warp";
2608
+
let description = [{
2609
+
The `match.sync` op performs broadcast and compare of operand `val` across
2610
+
all non-exited threads in `thread_mask` and returns a mask depending on the
2611
+
kind and an optional predicate.
2612
+
2613
+
The matching operation kinds are:
2614
+
- `any`: Returns a mask corresponding to the non-exited threads in the
2615
+
`thread_mask` that have the same value of operand `val`.
2616
+
- `all`: Returns a mask and a predicate. If all non-exited threads in the
2617
+
`thread_mask` have the same value of operand `val`, the predicate is set to
2618
+
true and the mask corresponds to the non-exited threads in the
2619
+
`thread_mask`. Otherwise, the predicate is set to false and the mask is 0.
2620
+
2621
+
[For more information, see PTX ISA](https://docs.nvidia.com/cuda/parallel-thread-execution/#parallel-synchronization-and-communication-instructions-match-sync)
0 commit comments