SWDEV-318237 SWDEV-330173 - Fixes kernel parameter corruption when multiple nodes of the same kernelNode exist

Change-Id: I6437593be46b7b5afc3d77cdd887ad4139978ad3
This commit is contained in:
Sourabh Betigeri authored and Ajay GunaShekar committed 2022-06-14 18:06:21 -04:00
1 szülő cfe1efd6b0
commit 5549c8cd1b
4 files changed
+207 -39

No files matched your search

-7
Fájl megtekintése
@@ -217,13 +217,6 @@ hipError_t ihipLaunchKernel_validate(hipFunction_t f, uint32_t globalWorkSizeX,
return hipErrorInvalidValue;
}
if (extra != nullptr) {
if (extra[0] != HIP_LAUNCH_PARAM_BUFFER_POINTER || extra[2] != HIP_LAUNCH_PARAM_BUFFER_SIZE ||
extra[4] != HIP_LAUNCH_PARAM_END) {
return hipErrorNotInitialized;
}
}
const amd::Device* device = g_devices[deviceId]->devices()[0];
// Make sure dispatch doesn't exceed max workgroup size limit
if (blockDimX * blockDimY * blockDimZ > device->info().maxWorkGroupSize_) {