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
Dieser Commit ist enthalten in:
foreman committed 2019-03-19 11:31:24 -04:00
1 Ursprung a35c12208d
Commit 2bd7f75ba9
1 Datei geändert
+3
+3
Datei anzeigen
@@ -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();