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:
kjayapra-amd
2023-09-11 15:54:46 -04:00
committed by Sourabh Betigeri
parent 6398f604b0
commit 6a8bc3c718
7 changed files with 39 additions and 12 deletions
+5
View File
@@ -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 };