Thanks for reaching out to us!
Could you please provide steps to reproduce and source code for which you are getting this error?
Also, let us know the environment details:
oneAPI toolkit version
If you are working on Linux Machine please provide the output of clinfo command.
Thanks & Regards
Thanks for providing the source code and steps to reproduce!
We are forwarding this thread to Subject Matter Expert who will help you in resolving the issue.
Have a Good day!