SWDEV-368881 - Revert enable hipLaunchCooperativeKernel for hipRTC compiled function

This reverts commit b4d8586a11.

Reason for revert: Doesn't match with CUDA behavior

Change-Id: I413f3d241f864c1e7c21681c5fff8f216ef54306
Este commit está contenido en:
Rakesh Roy
2022-11-30 03:58:03 -05:00
padre 16b31b0c54
commit 4f5d180ca7
Se han modificado 7 ficheros con 1 adiciones y 50 borrados
+1 -9
Ver fichero
@@ -497,15 +497,7 @@ hipError_t hipLaunchCooperativeKernel_common(const void* f, dim3 gridDim, dim3 b
hipFunction_t func = nullptr;
int deviceId = hip::Stream::DeviceId(hStream);
hipError_t status = PlatformState::instance().getStatFunc(&func, f, deviceId);
if (status != hipSuccess) {
// Check if its a dynamic function
if (!PlatformState::instance().isValidDynFunc(hipFunction_t(f))) {
return status;
}
func = (hipFunction_t)f;
}
HIP_RETURN_ONFAIL(PlatformState::instance().getStatFunc(&func, f, deviceId));
size_t globalWorkSizeX = static_cast<size_t>(gridDim.x) * blockDim.x;
size_t globalWorkSizeY = static_cast<size_t>(gridDim.y) * blockDim.y;
size_t globalWorkSizeZ = static_cast<size_t>(gridDim.z) * blockDim.z;