From 06d85e7f146e69c4fe5198d79722f28edf3a0c3d Mon Sep 17 00:00:00 2001 From: foreman Date: Wed, 29 May 2019 12:11:49 -0400 Subject: [PATCH] P4 to Git Change 1788987 by cpaquot@cpaquot-ocl-lc-lnx on 2019/05/29 11:44:11 SWDEV-190565 - [HIP] Relaxed the event wait list condition on context matching Affected files ... ... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_common.hpp#23 edit [ROCm/clr commit: a410dec4c725a738239d29814368fa40b7aa5084] --- projects/clr/opencl/api/opencl/amdocl/cl_common.hpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/projects/clr/opencl/api/opencl/amdocl/cl_common.hpp b/projects/clr/opencl/api/opencl/amdocl/cl_common.hpp index c642f82bd8..adc331c111 100644 --- a/projects/clr/opencl/api/opencl/amdocl/cl_common.hpp +++ b/projects/clr/opencl/api/opencl/amdocl/cl_common.hpp @@ -196,9 +196,6 @@ clSetEventWaitList( if (!is_valid(event)) { return CL_INVALID_EVENT_WAIT_LIST; } - if (&hostQueue.context() != &amdEvent->context()) { - return CL_INVALID_CONTEXT; - } if ((amdEvent->command().queue() != &hostQueue) && !amdEvent->notifyCmdQueue()) { return CL_INVALID_EVENT_WAIT_LIST; }