global_load_dword GPU Native ISA AMD Vector
GLOBAL LOAD DWORD Vector/Global Memory
global_load_dword VDST, VADDR, SADDR, offset
Load one 32-bit dword per lane from the global address space using a 64-bit per-lane address.
Encoding
Verified bit-level encoding data is not yet available for this instruction.
The instruction-format classification below (GLOBAL)
is well-documented and stable; exact per-target opcode/field bit positions have not
yet been imported from a verified source.
Operands
-
VDST
Destination VGPR -
VADDR
Per-lane 64-bit address (VGPR pair) -
SADDR
Optional uniform base (SGPR pair) -
offset
Immediate offset
GFX Target Compatibility
| Target | Support |
|---|---|
| gfx942 | ✅ Supported |
| gfx1100 | ✅ Supported |
Related PTX Concepts
Related
More in Vector/Global Memory
Reference
AMDGPU / GFX ISA
Description
Load 32 bits of data from the global aperture into a vector register.
Semantics
VDST[lane] = *(VADDR[lane] + SADDR + offset) for each active lane.
Example
global_load_dword v2, v[0:1], off // v2 = *(v[0:1]) per laneOriginal illustrative example, written for this site (not reproduced from a specific AMD document).
Sources
- AMD Machine-Readable GPU ISA Specification ↗ - Advanced Micro Devices, Inc.