Skip to content

Commit 3269c47

Browse files
authored
[SYCL][CUDA] Remove PI_COMMAND_TYPE_USER assert from _pi_event::_pi_event (#3545)
1 parent 31f1c84 commit 3269c47

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

sycl/plugins/cuda/pi_cuda.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -326,8 +326,6 @@ _pi_event::_pi_event(pi_command_type type, pi_context context, pi_queue queue)
326326
isStarted_{false}, evEnd_{nullptr}, evStart_{nullptr}, evQueued_{nullptr},
327327
queue_{queue}, context_{context} {
328328

329-
assert(type != PI_COMMAND_TYPE_USER);
330-
331329
bool profilingEnabled = queue_->properties_ & PI_QUEUE_PROFILING_ENABLE;
332330

333331
PI_CHECK_ERROR(cuEventCreate(

0 commit comments

Comments
 (0)