P4 to Git Change 2040867 by kjayapra@0_HIPWS_LNX1_ROCM on 2019/12/04 13:32:27
SWDEV-145570 - Adding back the lazy kernel changes because the OOM issue is because of KFD/RocR. Affected files ... ... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#53 edit
This commit is contained in:
@@ -416,6 +416,9 @@ extern "C" void __hipRegisterFunction(
|
||||
HIP_INIT();
|
||||
PlatformState::DeviceFunction func{ std::string{deviceName}, modules, std::vector<hipFunction_t>{ g_devices.size() }};
|
||||
PlatformState::instance().registerFunction(hostFunction, func);
|
||||
for (size_t i = 0; i < g_devices.size(); ++i) {
|
||||
PlatformState::instance().getFunc(hostFunction, i);
|
||||
}
|
||||
}
|
||||
|
||||
// Registers a device-side global variable.
|
||||
|
||||
Reference in New Issue
Block a user