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
Этот коммит содержится в:
Rakesh Roy
2022-11-30 03:58:03 -05:00
родитель 16b31b0c54
Коммит 4f5d180ca7
7 изменённых файлов: 1 добавлений и 50 удалений
-12
Просмотреть файл
@@ -747,18 +747,6 @@ hipError_t PlatformState::getDynFunc(hipFunction_t* hfunc, hipModule_t hmod,
return it->second->getDynFunc(hfunc, func_name);
}
bool PlatformState::isValidDynFunc(const hipFunction_t& hfunc) {
amd::ScopedLock lock(lock_);
for (auto it : dynCO_map_) {
if (it.second->isValidDynFunc(hfunc)) {
return true;
}
}
return false;
}
hipError_t PlatformState::getDynGlobalVar(const char* hostVar, hipModule_t hmod,
hipDeviceptr_t* dev_ptr, size_t* size_ptr) {
amd::ScopedLock lock(lock_);