Instantiating a queue object using a device_selector object of type cpu_selector results in:
Unhandled exception at 0x00007FFA6543A839 in AppName.exe: Microsoft C++ exception: cl::sycl::runtime_error at memory location
Unhandled exception at 0x00007FFA6609C4C8 (ucrtbase.dll) in AppName.exe: An invalid parameter was passed to a function that considers invalid parameters fatal.
Ref. DPC++ VecAdd example lines #100
//default_selector device_selector; cpu_selector device_selector; queue device_queue(device_selector);
What could cause this error?
Also, please note that, the last time I tested that was couple of days ago, and it was working well, but now its not, knowing that no installation has been performed on the target machine since the last successful attempt.
Hi Tamer Assad,
Always make sure that you update to the latest version of the base toolkit https://software.intel.com/en-us/oneapi/base-kit. We are closing this thread. Feel free to reach out to us, in case you face any issues.