Do not allow occupancy restriction on cooperative groups.
Excessive scratch allocations can normally trigger occupancy reduction. This breaks cooperative groups so if occupancy reduction is required on a cooperative dispatch fail with OOM. Change-Id: I64612a2e38bf1286f3b74c1c2a68ab0c85452771
Цей коміт міститься в:
@@ -94,11 +94,12 @@ class ScratchCache {
|
||||
size_t size_per_thread;
|
||||
uint32_t lanes_per_wave;
|
||||
uint32_t waves_per_group;
|
||||
uint64_t wanted_slots;
|
||||
bool cooperative;
|
||||
ptrdiff_t queue_process_offset;
|
||||
bool large;
|
||||
bool retry;
|
||||
hsa_signal_t queue_retry;
|
||||
uint64_t wanted_slots;
|
||||
ScratchCache::ref_t scratch_node;
|
||||
};
|
||||
|
||||
|
||||
Посилання в новій задачі
Заблокувати користувача