From e9e9fbf51587ac6b33b53f645f6057ca7e32b73a Mon Sep 17 00:00:00 2001 From: foreman Date: Wed, 20 Mar 2019 12:24:45 -0400 Subject: [PATCH] P4 to Git Change 1758971 by yaxunl@yaxunl-lc10 on 2019/03/20 12:00:49 SWDEV-145570 - Fix build failure due to type mismatch of amd::Event::CallBackFunction Affected files ... ... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#16 edit [ROCm/hip commit: 950104532220aef01f3ac3a9ac0c5bf691c47321] --- projects/hip/api/hip/hip_stream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/hip/api/hip/hip_stream.cpp b/projects/hip/api/hip/hip_stream.cpp index 7acd3d90dd..3331688424 100644 --- a/projects/hip/api/hip/hip_stream.cpp +++ b/projects/hip/api/hip/hip_stream.cpp @@ -54,7 +54,7 @@ void syncStreams() { }; -void ihipStreamCallback(cl_event event, cl_int command_exec_status, void* user_data) { +void CL_CALLBACK ihipStreamCallback(cl_event event, cl_int command_exec_status, void* user_data) { hipError_t status = hipSuccess; StreamCallback* cbo = reinterpret_cast(user_data);