P4 to Git Change 2033170 by cpaquot@cpaquot-ocl-lc-lnx on 2019/11/19 13:26:16

SWDEV-212215 - HIP-VDI runtime should not lazy load device code objects
	Temporarly disable lazy load of code objects for debugger.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#49 edit


[ROCm/clr commit: e3cee22eeb]
Этот коммит содержится в:
foreman
2019-11-19 13:34:00 -05:00
родитель bf1cadce37
Коммит 6dbc4a84c8
+3
Просмотреть файл
@@ -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.