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]
This commit is contained in:
Rakesh Roy
2022-11-30 03:58:03 -05:00
parent e7fa085afe
commit 9ec5dee45c
7 changed files with 1 additions and 50 deletions
@@ -562,20 +562,6 @@ hipError_t DynCO::getDynFunc(hipFunction_t* hfunc, std::string func_name) {
return it->second->getDynFunc(hfunc, module());
}
bool DynCO::isValidDynFunc(const hipFunction_t& hfunc) {
amd::ScopedLock lock(dclock_);
CheckDeviceIdMatch();
for (auto it : functions_) {
if (it.second->isValidDynFunc(hfunc)) {
return true;
}
}
return false;
}
hipError_t DynCO::initDynManagedVars(const std::string& managedVar) {
amd::ScopedLock lock(dclock_);
DeviceVar* dvar;