Method and system for processing nested stream events
Abstract
One embodiment of the present disclosure sets forth a technique for enforcing cross stream dependencies in a parallel processing subsystem such as a graphics processing unit. The technique involves queuing waiting events to create cross stream dependencies and signaling events to indicated completion to the waiting events. A scheduler kernel examines a task status data structure from a corresponding stream and updates dependency counts for tasks and events within the stream. When each task dependency for a waiting event is satisfied, an associated task may execute.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 8.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for processing a plurality of tasks across a group of threads, the method comprising: retrieving a first item from a first queue that stores processing tasks, wait events, and signaling events, the first queue being executed by a first thread; determining that the first item comprises a signaling event and executing the signaling event, wherein a wait event in a second queue is dependent on the signaling event, the second queue being executed by a second thread; in response to executing the signaling event, decrementing a dependency count associated with the wait
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (8 of 8 total)
References Cited — Backward Prior Art (12)
Non-Patent Literature (5)
- Aland, Instruction transfer between CPU and GPU, Stack Overflow, Feb. 28, 2012, pp. 1-2.
- Cedric, Declaring dependencies with cudaStreamWaitEvent, Feb. 9, 2012, cedric-augonnet.com, pp. 1-5.
- CUDA 4.0 Readiness Tech Brief, Mar. 3, 2011, NVIDIA, pp. 1-10.
- HPC Advisory Council, Creative Consultants Taps InfinitBand to Deliver Efficient GPU-based HPC Cluster, HPC Advisory Council, 2009, pp. 1-2.
- Jason et al., CUDA by Example: An introduction to General-Purpose GPU programming, Jul. 19, 2010, Addison-Wesley Professional.