3 Commits

Author SHA1 Message Date
Matt Arsenault
de1600a1d9 AMDGPU: Avoid enabling kernel workitem IDs with reqd_work_group_size 2022-01-18 13:52:04 -05:00
Matt Arsenault
a6f49423c1 AMDGPU: Optimize outgoing workitem ID based on reqd_work_group_size
If we know we we aren't using a component from the kernel, we can save
a few bit packing instructions.

We're still enabling the VGPR input to the kernel though.
2022-01-13 12:08:18 -05:00
Matt Arsenault
ab593baa2d AMDGPU: Add base test for future optimization patch 2022-01-12 18:21:23 -05:00