Compute work distribution reference counters
Abstract
One embodiment of the present invention sets forth a technique for managing the allocation and release of resources during multi-threaded program execution. Programmable reference counters are initialized to values that limit the amount of resources for allocation to tasks that share the same reference counter. Resource parameters are specified for each task to define the amount of resources allocated for consumption by each array of execution threads that is launched to execute the task. The resource parameters also specify the behavior of the array for acquiring and releasing resources. Finally, during execution of each thread in the array, an exit instruction may be configured to override the release of the resources that were allocated to the array. The resources may then be retained for use by a child task that is generated during execution of a thread.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of allocating and releasing architectural resources in a multi-threaded system, the method comprising: allocating the architectural resources to a first thread array including a first plurality of threads to execute a parent processing task; determining, by one or more threads included in the first plurality of threads and during execution of the parent processing task, whether a release of the architectural resources is to be overridden when a first thread included in the first plurality of threads has exited based on the existence of a child processing task generated from the parent
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗