From 4ef60db63b41c2a3910b89d4245a17217dc9aaf6 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 --- hipamd/api/hip/hip_platform.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hipamd/api/hip/hip_platform.cpp b/hipamd/api/hip/hip_platform.cpp index c6b731af58..efc8caffa6 100644 --- a/hipamd/api/hip/hip_platform.cpp +++ b/hipamd/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();