Base plus offset addressing for load/store messages
Abstract
Embodiments described herein provide a technique to decompose 64-bit per-lane virtual addresses to access a plurality of data elements on behalf of a multi-lane parallel processing execution resource of a graphics or compute accelerator. The 64-bit per-lane addresses are decomposed into a base address and a plurality of per-lane offsets for transmission to memory access circuitry. The memory access circuitry then combines the base address and the per-lane offsets to reconstruct the per-lane addresses.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A graphics processor comprising: a graphics core including a plurality of processing resources, each having a plurality of processor lanes to perform a parallel processing operation on a plurality of data elements stored in a memory; and memory access circuitry configured to receive offload of memory address calculations for the plurality of data elements from the plurality of processor lanes of the plurality of processing resources, wherein the memory access circuitry is configured to: determine byte addresses for the plurality of data elements stored in the memory, the byte addresses determined based on a base address, an offset between addresses of data elements of the plurality of data elements, and a scale factor to apply to the offset, wherein the byte addresses are byte granularity addresses of data elements to be processed by the plurality of processor lanes; and submit a memory access request to the memory on behalf of the plurality of processor lanes to access the plurality o
- Claim 2Depends on #1
The graphics processor of claim 1, wherein the offset between the addresses of the data elements is a first offset, the memory access circuitry is additionally configured to add a second offset to the base address, and the second offset is a global offset.
- Claim 3Depends on #1
The graphics processor of claim 1, wherein the memory access circuitry includes a shifter to apply the scale factor.
- Claim 4Depends on #1
The graphics processor of claim 1, wherein the memory access request is a request to store a data element to the memory.
- Claim 5Depends on #1
The graphics processor of claim 1, wherein the memory access request is a request to load a data element from the memory.
- Claim 6Depends on #1
The graphics processor of claim 1, further comprising a cache memory, wherein the memory access request is a request to prefetch a data element to the cache memory.
- Claim 7Depends on #1
The graphics processor of claim 1, wherein each of the plurality of processor lanes is associated with a single instruction multiple data (SIMD) channel.
- Claim 8Depends on #1
The graphics processor of claim 1, wherein each of the plurality of processor lanes is associated with a single instruction multiple thread (SIMT) thread.
Technical Overview & Description
CROSS REFERENCE TO RELATED APPLICATIONS The present patent application is a continuation application claiming priority from U.S. application Ser. No. 17/949,904, filed Sep. 21, 2022, the contents of which are incorporated herein in their entirety by reference. FIELD This disclosure relates generally to facilitating memory access while processing general-purpose compute workloads on a graphics processor. BACKGROUND OF THE DISCLOSURE When a kernel program executing on a graphics processor or compute accelerator accesses elements of an array in memory, the byte address of the specific elements is calculated from the base address of the surface that contains the array. Instructions to perform the address calculations may be inserted during compilation of the kernel program. The graphics processor or compute accelerator then executes these instructions to perform the address calculations before accessing the elements. However, graphics processor and compute accelerator kernel programs tend to be small. The additional instructions that are added to perform the address calculations may result in a significant increase in the number of instructions that are executed for the kernel program, which reduces its computational efficiency. BRIEF DESCRIPTION OF THE DRAWINGS Embodiments described herein are illustrated by way of example and not limitation in the figures of the accompanying drawings in which like references indicate similar elements, and in which: FIG. 1 is a block diagram illustrating a computer system configured to implement one or more aspects of the embodiments described herein; FIG. 2 A- 2 D illustrate parallel processor components; FIG. 3 A- 3 C are block diagrams of graphics multiprocessors and multiprocessor-based GPUs; FIG. 4 A- 4 F illustrate an exemplary architecture in which a plurality of GPUs is communicatively coupled to a plurality of multi-core processors; FIG. 5 illustrates a graphics processing pipeline; FIG. 6 illustrates a machine learning softwa
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (8)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 12,014,183 B2 | Base plus offset addressing for load/store messages | 2024 | 0 |
Non-Patent Literature (10)
- Blythe, David,
- “
- Xe HPG Sneak Peek
- ”
- , Architecture Day 2021, Intel Corporation, pp. 95-104.
- Jiang, Hong,
- “
- Xe Architecture HPC
- ”
- , Intel Corporation, Architecture Day 2021 Presentation, Aug. 19, 2021, pp. 156-170.