Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

std::out_of_range during queue instantiation

Gregory_Nothnagel
504 Views

I downloaded the oneAPI base toolkit with all its features. I started a dpc++ console application in Visual Studio 2022, which comes with that sycl "hello world" type program. I get this "out of range" error any time I try to instantiate a queue object, but I don't know how that error applies to the queue structure. I have an Iris Xe graphics card, so I think the selector should know to use that, but I don't know how to check what device the selector has chosen to use. If someone could help me with either of those issues or direct me to the proper resources that would be much appreciated. I tried looking at the queue documentation but quickly got overwhelmed. Thanks in advance.

0 Kudos
0 Replies
Reply