P4 to Git Change 1758323 by yaxunl@yaxunl-lc10 on 2019/03/19 11:22:17

SWDEV-145570 - Forward declare hipModuleGetGlobal to fix build failure.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#23 edit
此提交包含在:
foreman
2019-03-19 11:31:24 -04:00
父節點 e432cfb2e9
當前提交 4ef60db63b
+3
查看文件
@@ -58,6 +58,9 @@ struct __ClangOffloadBundleHeader {
__ClangOffloadBundleDesc desc[1];
};
hipError_t hipModuleGetGlobal(hipDeviceptr_t* dptr, size_t* bytes,
hipModule_t hmod, const char* name);
extern "C" std::vector<hipModule_t>* __hipRegisterFatBinary(const void* data)
{
HIP_INIT();