The stride should depend on the wave size, not the hardware generation.
Also, the 32_FLOAT format is 0x16, not 16; though that shouldn't be
relevant.
Change-Id: I088f93bf6708974d085d1c50967f119061da6dc6
Paths
| Differential D63808
AMDGPU/GFX10: fix scratch resource descriptor ClosedPublic Authored by nhaehnle on Jun 26 2019, 12:52 AM.
Details Summary The stride should depend on the wave size, not the hardware generation. Also, the 32_FLOAT format is 0x16, not 16; though that shouldn't be Change-Id: I088f93bf6708974d085d1c50967f119061da6dc6
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 28 2019, 6:43 AM Closed by commit rL364788: AMDGPU/GFX10: fix scratch resource descriptor (authored by nha). · Explain WhyJul 1 2019, 8:45 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 207334 llvm/trunk/lib/Target/AMDGPU/SIInstrInfo.cpp
llvm/trunk/test/CodeGen/AMDGPU/scratch-simple.ll
|