From a9820e7b72d4e0c9e9d1e411ca8728fffee65b7d 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/clr commit: 7d3439719d65b75a51c1688aefb75ab847347d41] --- projects/clr/hipamd/api/hip/hip_stream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/clr/hipamd/api/hip/hip_stream.cpp b/projects/clr/hipamd/api/hip/hip_stream.cpp index 7acd3d90dd..3331688424 100644 --- a/projects/clr/hipamd/api/hip/hip_stream.cpp +++ b/projects/clr/hipamd/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);