Method and system for yield operation supporting thread-like behavior
Abstract
A method, system, and computer program product synchronize a group of workitems executing an instruction stream on a processor. The processor is yielded by a first workitem responsive to a synchronization instruction in the instruction stream. A first one of a plurality of program counters is updated to point to a next instruction following the synchronization instruction in the instruction stream to be executed by the first workitem. A second workitem is run on the processor after the yielding.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of synchronizing a group of workitems executing an instruction stream on a processor, the method comprising: determining a divergent control flow point associated with at least a first workitem; inserting a synchronization instruction following the determined divergent control flow point in the instruction stream; responsive to the synchronization instruction in the instruction stream, yielding the processor by the first workitem; updating a first one of a plurality of program counters to point to a next instruction following the synchronization instruction in the instruction stream t
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗