This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Clarify scratch initialization
ClosedPublic

Authored by t-tye on Dec 14 2020, 8:53 PM.

Details

Summary
  • Clarify documentation on initializing scratch.
  • Rename compute_pgm_rsrc2 field for enabling scratch from ENABLE_SGPR_PRIVATE_SEGMENT_WAVEFRONT_OFFSET to ENABLE_PRIVATE_SEGMENT to match hardware definition.

Diff Detail

Event Timeline

t-tye created this revision.Dec 14 2020, 8:53 PM
t-tye requested review of this revision.Dec 14 2020, 8:53 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 14 2020, 8:53 PM
t-tye updated this revision to Diff 311798.Dec 14 2020, 10:42 PM

Fix missing blank line.

rampitec accepted this revision.Dec 15 2020, 9:57 AM

LGTM, thanks!

This revision is now accepted and ready to land.Dec 15 2020, 9:57 AM
This revision was landed with ongoing or failed builds.Dec 15 2020, 12:15 PM
This revision was automatically updated to reflect the committed changes.