capturing the event auto e = q.submit... followed by e.wait() works but doing q.wait() causes the following error:
PI CUDA ERROR:
Value: 800
Name: CUDA_ERROR_NOT_PERMITTED
Description: operation not permitted
Function: ScopedContext
Source Location: /home/bhomerding/repo/sycl_usm/llvm/sycl/plugins/cuda/pi_cuda.cpp:147
capturing the event
auto e = q.submit...followed bye.wait()works but doingq.wait()causes the following error: