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
이 커밋은 다음에 포함됨:
foreman가 2019-11-19 13:34:00 -05:00를 커밋했습니다
1 부모 1ee794c7f3
커밋 e3cee22eeb
1 파일이 변경됨
+3
+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.