From 2bd7f75ba9ccdc441670a02d1a10b21d4e58cc33 Mon Sep 17 00:00:00 2001 From: foreman Date: Tue, 19 Mar 2019 11:31:24 -0400 Subject: [PATCH] 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 --- api/hip/hip_platform.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/hip/hip_platform.cpp b/api/hip/hip_platform.cpp index c6b731af58..efc8caffa6 100644 --- a/api/hip/hip_platform.cpp +++ b/api/hip/hip_platform.cpp @@ -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* __hipRegisterFatBinary(const void* data) { HIP_INIT();