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
[ROCm/clr commit: 95d1962401]
此提交包含在:
@@ -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)
|
||||
|
||||
新增問題並參考
封鎖使用者