Correct computation of scratch slot requirements.

Each SE must be assigned equal numbers of slots and slots
must be assigned in units of whole groups.

Change-Id: I8f3677237fa6f2e2d25e3e78210c5a7a0ad792f3
This commit is contained in:
Sean Keely
2021-01-08 16:19:55 -06:00
parent 9fe8ccc3ee
commit 7bc6aac5d2
3 changed files with 7 additions and 3 deletions
@@ -93,6 +93,7 @@ class ScratchCache {
size_t dispatch_size;
size_t size_per_thread;
uint32_t lanes_per_wave;
uint32_t waves_per_group;
ptrdiff_t queue_process_offset;
bool large;
bool retry;