This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Fix CS scratch setup on pre-GCN3 ASICs
ClosedPublic

Authored by critson on Jan 9 2019, 8:36 AM.

Details

Summary

Prior to GCN3 s_load_dword offsets are in dwords rather than bytes.
Thus the scratch buffer descriptor offset must be adjusted for pre-GCN3 ASICs.

Diff Detail

Repository
rL LLVM

Event Timeline

critson created this revision.Jan 9 2019, 8:36 AM
nhaehnle accepted this revision.Feb 7 2019, 3:32 AM

LGTM

This revision is now accepted and ready to land.Feb 7 2019, 3:32 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 7 2019, 3:32 AM
This revision was automatically updated to reflect the committed changes.