diff options
author | Jessica Del <50999226+OutOfCache@users.noreply.github.com> | 2023-12-15 15:49:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-15 15:49:25 +0100 |
commit | 32f9983c064557883223b585810eac3c6797d500 (patch) | |
tree | c2d29f827e3f99ea0a4018d0501ecb2ed75de325 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 163aeca33d4adb97e8599584409457ca14b1419b (diff) | |
download | llvm-32f9983c064557883223b585810eac3c6797d500.zip llvm-32f9983c064557883223b585810eac3c6797d500.tar.gz llvm-32f9983c064557883223b585810eac3c6797d500.tar.bz2 |
[AMDGPU] - Add address space for strided buffers (#74471)
This is an experimental address space for strided buffers. These buffers
can have structs as elements and
a stride > 1.
These pointers allow the indexed access in units of stride, i.e., they
point at `buffer[index * stride]`.
Thus, we can use the `idxen` modifier for buffer loads.
We assign address space 9 to 192-bit buffer pointers which contain a
128-bit descriptor, a 32-bit offset and a 32-bit index. Essentially,
they are fat buffer pointers with an additional 32-bit index.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions