Opcode-specified predicatable warp post-synchronization
Abstract
One embodiment of the present invention sets forth a technique for performing a method for synchronizing divergent executing threads. The method includes receiving a plurality of instructions that includes at least one set-synchronization instruction and at least one instruction that includes a synchronization command, and determining an active mask that indicates which threads in a plurality of threads are active and which threads in the plurality of threads are disabled. For each instruction included in the plurality of instructions, the instruction is transmitted to each of the active threads included in the plurality of threads. If the instruction is a set-synchronization instruction, then a synchronization token, the active mask and the synchronization point is each pushed onto a stack. Or, if the instruction is a predicated instruction that includes a synchronization command, then each active thread that executes the predicated instruction is monitored to determine when the active mask has been updated to indicate that each active thread, after executing the predicated instruction, has been disabled.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 23 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for synchronizing divergent executing threads, the method comprising: receiving a plurality of instructions that includes at least one set-synchronization instruction that references a synchronization point within the plurality of instructions and at least one instruction that includes a synchronization command; determining an active mask that indicates which threads in a plurality of threads are active and which threads in the plurality of threads are disabled; for each instruction included in the plurality of instructions, transmitting the instruction to each of
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗