SWDEV-368881 - Revert enable hipLaunchCooperativeKernel for hipRTC compiled function

This reverts commit f870f04dd9.

Reason for revert: Doesn't match with CUDA behavior

Change-Id: I413f3d241f864c1e7c21681c5fff8f216ef54306


[ROCm/clr commit: 4f5d180ca7]
此提交包含在:
Rakesh Roy
2022-11-30 03:58:03 -05:00
父節點 e7fa085afe
當前提交 9ec5dee45c
共有 7 個檔案被更改,包括 1 行新增50 行删除
-8
查看文件
@@ -135,14 +135,6 @@ hipError_t Function::getDynFunc(hipFunction_t* hfunc, hipModule_t hmod) {
return hipSuccess;
}
bool Function::isValidDynFunc(const hipFunction_t& hfunc) {
guarantee((dFunc_.size() == g_devices.size()), "dFunc Size mismatch");
if (dFunc_[ihipGetDevice()] == nullptr) {
return false;
}
return (dFunc_[ihipGetDevice()]->asHipFunction() == hfunc);
}
hipError_t Function::getStatFunc(hipFunction_t* hfunc, int deviceId) {
guarantee(modules_ != nullptr, "Module not initialized");