CPU-to-GPU and GPU-to-GPU atomics
Abstract
One embodiment of the present invention includes techniques for a first processing unit to perform an atomic operation on a memory page shared with a second processing unit. The memory page is associated with a page table entry corresponding to the first processing unit. Before executing the atomic operation, an MMU included in the first processing unit evaluates an atomic permission bit that is included in the page table entry. If the MMU determines that the atomic permission bit is inactive, then the two processing units coordinate to change the permission status of the memory page. As part of the status change, the atomic permission bit in the page table entry is activated. Subsequently, the first processing unit performs the atomic operation uninterrupted by the second processing unit. Advantageously, coordinating the processing unit via the atomic permission bit ensures the proper and efficient execution of the atomic operation.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for performing an atomic operation on a memory page shared by at least two processing units, the method comprising: receiving a request from a first processing unit to perform an atomic operation on the memory page, wherein the memory page corresponds to a first page table entry included in a first page table associated with the first processing unit, and the first page table entry includes an atomic permission bit; determining that the atomic permission bit in the first page table entry is inactive; removing all page table entries that are associated with the mem
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗