P4 to Git Change 2033779 by kjayapra@0_HIPWS_LNX1_ROCM on 2019/11/20 07:17:56

SWDEV-144570 - Update function global during hipModuleLoad.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#47 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#48 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#50 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#69 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#35 edit


[ROCm/clr commit: 07d13a34d9]
이 커밋은 다음에 포함됨:
foreman
2019-11-20 07:24:20 -05:00
부모 f75935f276
커밋 98aef4161f
2개의 변경된 파일9개의 추가작업 그리고 0개의 파일을 삭제
+8
파일 보기
@@ -3178,6 +3178,14 @@ bool Program::getSymbolsFromCodeObj(std::vector<std::string>* var_names, amd_com
}
#endif /* USE_COMGR_LIBRARY */
bool Program::getFuncsFromCodeObj(std::vector<std::string>* func_names) const {
#if defined(USE_COMGR_LIBRARY)
return getSymbolsFromCodeObj(func_names, AMD_COMGR_SYMBOL_TYPE_FUNC);
#else
return true;
#endif
}
bool Program::getGlobalVarFromCodeObj(std::vector<std::string>* var_names) const {
#if defined(USE_COMGR_LIBRARY)
return getSymbolsFromCodeObj(var_names, AMD_COMGR_SYMBOL_TYPE_OBJECT);