This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Clarify ReqdWorkGroupSize and MaxFlatWorkGroupSize metadata
ClosedPublic

Authored by t-tye on Jan 25 2018, 1:01 PM.

Details

Summary
  • If ReqdWorkGroupSize is present it must have all elements >=1.
  • If MaxFlatWorkGroupSize must be consistent with ReqdWorkGroupSize
  • Remove FixedWorkGroupSize as now equivalent to ReqdWorkGroupSize.
  • Remove wor- group size information from the kernel descriptor.

Diff Detail

Event Timeline

t-tye created this revision.Jan 25 2018, 1:01 PM
kzhuravl accepted this revision.Jan 30 2018, 3:02 PM

LGTM.

This revision is now accepted and ready to land.Jan 30 2018, 3:02 PM