This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Fix MaxWorkGroupsPerCU for large workgroups
ClosedPublic

Authored by rampitec on Feb 14 2017, 5:02 PM.

Details

Summary

This patch corrects the maximum workgroups per CU if we have big
workgroups (more than 128). This calculation contributes to the
occupancy calculation in respect to LDS size.

Diff Detail

Repository
rL LLVM

Event Timeline

rampitec created this revision.Feb 14 2017, 5:02 PM

Can you upload a full diff?

kzhuravl accepted this revision.Feb 14 2017, 5:10 PM

LGTM.

This revision is now accepted and ready to land.Feb 14 2017, 5:10 PM
rampitec updated this revision to Diff 88468.Feb 14 2017, 5:15 PM

Upload a full diff. No changes.

This revision was automatically updated to reflect the committed changes.