P4 to Git Change 1759609 by kjayapra@1_HIPWS_SL_IPC on 2019/03/21 12:09:27

SWDEV-144570 - Disbaling __hipHostRegister implementation to unblock pytorch tests in PAL.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#24 edit
Этот коммит содержится в:
foreman
2019-03-21 12:43:25 -04:00
родитель 636dadc1aa
Коммит eb852bdb53
+2
Просмотреть файл
@@ -240,6 +240,7 @@ extern "C" void __hipRegisterVar(
int constant, // Whether this variable is constant
int global) // Unknown, always 0
{
#if 0
HIP_INIT();
size_t sym_size = 0;
@@ -262,6 +263,7 @@ extern "C" void __hipRegisterVar(
}
PlatformState::instance().registerVar(hostVar, global_vars);
#endif
}
extern "C" void __hipUnregisterFatBinary(std::vector<hipModule_t>* modules)