From 8f045a57e4c9df6a103bb44aa698a227d1b78649 Mon Sep 17 00:00:00 2001 From: Stuart Adams Date: Wed, 14 Apr 2021 15:46:17 +0100 Subject: [PATCH] Removed PI_COMMAND_TYPE_USER assert from _pi_event::_pi_event --- sycl/plugins/cuda/pi_cuda.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/sycl/plugins/cuda/pi_cuda.cpp b/sycl/plugins/cuda/pi_cuda.cpp index 3b77736b95c1b..9a10455488639 100644 --- a/sycl/plugins/cuda/pi_cuda.cpp +++ b/sycl/plugins/cuda/pi_cuda.cpp @@ -326,8 +326,6 @@ _pi_event::_pi_event(pi_command_type type, pi_context context, pi_queue queue) isStarted_{false}, evEnd_{nullptr}, evStart_{nullptr}, evQueued_{nullptr}, queue_{queue}, context_{context} { - assert(type != PI_COMMAND_TYPE_USER); - bool profilingEnabled = queue_->properties_ & PI_QUEUE_PROFILING_ENABLE; PI_CHECK_ERROR(cuEventCreate(