|
LLVM 24.0.0git
|
OpenCL uses address spaces to differentiate between various memory regions on the hardware. More...
OpenCL uses address spaces to differentiate between various memory regions on the hardware.
On the CPU all of the address spaces point to the same memory, however on the GPU, each address space points to a separate piece of memory that is unique from other memory locations.
| anonymous enum : unsigned |
| Enumerator | |
|---|---|
| MAX_AMDGPU_ADDRESS | |
| FLAT_ADDRESS | Address space for flat memory. |
| GLOBAL_ADDRESS | Address space for global memory (RAT0, VTX0). |
| REGION_ADDRESS | Address space for region memory. (GDS) |
| LOCAL_ADDRESS | Address space for local memory. |
| CONSTANT_ADDRESS | Address space for constant memory (VTX2). |
| PRIVATE_ADDRESS | Address space for private memory. |
| CONSTANT_ADDRESS_32BIT | Address space for 32-bit constant memory. |
| BUFFER_FAT_POINTER | Address space for 160-bit buffer fat pointers. Not used in backend. |
| BUFFER_RESOURCE | Address space for 128-bit buffer resources. |
| BUFFER_STRIDED_POINTER | Address space for 192-bit fat buffer pointers with an additional index. |
| RESERVED_ADDRESS_SPACE_10 | Reserved for downstream use. |
| RESERVED_ADDRESS_SPACE_11 | Reserved for downstream use. |
| VGPR | Address space for VGPRs. The 32-bit address is a byte offset into the wave's view of its vector registers. Note this shares its numeric value with CONSTANT_BUFFER_5, which is only used by the (graphics) R600 path. |
| RESERVED_ADDRESS_SPACE_14 | Reserved for downstream use. |
| BARRIER | Address space for modeling barrier IDs as addresses. |
| RESERVED_ADDRESS_SPACE_16 | Reserved for downstream use. |
| RESERVED_ADDRESS_SPACE_17 | Reserved for downstream use. |
| RESERVED_ADDRESS_SPACE_18 | Reserved for downstream use. |
| STREAMOUT_REGISTER | Internal address spaces. Can be freely renumbered. Address space for GS NGG Streamout registers. |
| PARAM_D_ADDRESS | end Internal address spaces. Address space for direct addressable parameter memory (CONST0). |
| PARAM_I_ADDRESS | Address space for indirect addressable parameter memory (VTX1). |
| CONSTANT_BUFFER_0 | |
| CONSTANT_BUFFER_1 | |
| CONSTANT_BUFFER_2 | |
| CONSTANT_BUFFER_3 | |
| CONSTANT_BUFFER_4 | |
| CONSTANT_BUFFER_5 | |
| CONSTANT_BUFFER_6 | |
| CONSTANT_BUFFER_7 | |
| CONSTANT_BUFFER_8 | |
| CONSTANT_BUFFER_9 | |
| CONSTANT_BUFFER_10 | |
| CONSTANT_BUFFER_11 | |
| CONSTANT_BUFFER_12 | |
| CONSTANT_BUFFER_13 | |
| CONSTANT_BUFFER_14 | |
| CONSTANT_BUFFER_15 | |
| UNKNOWN_ADDRESS_SPACE | |
Definition at line 28 of file AMDGPUAddrSpace.h.