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:
@@ -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;
|
||||
|
||||
Referencia en una nueva incidencia
Block a user