From bad00db6ea16cc143b15fcce109fdbef8661d62f Mon Sep 17 00:00:00 2001 From: foreman Date: Thu, 31 May 2018 18:18:00 -0400 Subject: [PATCH] P4 to Git Change 1562507 by skudchad@skudchad_test2_win_opencl on 2018/05/31 18:10:39 SWDEV-145570 - [HIP] - Fix HIP build Affected files ... ... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#11 edit --- api/hip/hip_stream.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/api/hip/hip_stream.cpp b/api/hip/hip_stream.cpp index 9b5efde29c..c48eca87ae 100644 --- a/api/hip/hip_stream.cpp +++ b/api/hip/hip_stream.cpp @@ -144,8 +144,7 @@ hipError_t hipStreamWaitEvent(hipStream_t stream, hipEvent_t event, unsigned int cl_event clEvent = as_cl(e->event_); amd::Command::EventWaitList eventWaitList; - cl_int err = amd::clSetEventWaitList(eventWaitList, hostQueue->context(), 1, - &clEvent); + cl_int err = amd::clSetEventWaitList(eventWaitList, *hostQueue, 1, &clEvent); if (err != CL_SUCCESS) { return hipErrorUnknown; }