SWDEV-419688 - Do not run GWS init kernel for targets > gfx12 and MI300.
Change-Id: I8e7441268978be71ab8a5a33e7f8bcf69660e500 (cherry picked from commit 36d37ef614909c0f215512aac0c133408d787080)
This commit is contained in:
committed by
Sourabh Betigeri
parent
6398f604b0
commit
6a8bc3c718
@@ -2785,6 +2785,11 @@ bool KernelBlitManager::RunGwsInit(
|
||||
uint32_t value) const {
|
||||
amd::ScopedLock k(lockXferOps_);
|
||||
|
||||
if (dev().settings().gwsInitSupported_ == false) {
|
||||
LogError("GWS Init is not supported on this target");
|
||||
return false;
|
||||
}
|
||||
|
||||
size_t globalWorkOffset[1] = { 0 };
|
||||
size_t globalWorkSize[1] = { 1 };
|
||||
size_t localWorkSize[1] = { 1 };
|
||||
|
||||
Reference in New Issue
Block a user