P4 to Git Change 2041756 by cpaquot@cpaquot-ocl-lc-lnx on 2019/12/06 00:27:07
SWDEV-213526 - [hip] OOM issue
Restore lazy kernel uploads for 2.10 release.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#54 edit
[ROCm/clr commit: e20237e406]
Cette révision appartient à :
@@ -416,9 +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);
|
||||
}
|
||||
// for (size_t i = 0; i < g_devices.size(); ++i) {
|
||||
// PlatformState::instance().getFunc(hostFunction, i);
|
||||
// }
|
||||
}
|
||||
|
||||
// Registers a device-side global variable.
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur