Unhandled exception: queue(cpu_selector)

TCE Options

TCE Level: 

TCE Open Date: 

Thursday, February 13, 2020 - 16:45

Unhandled exception: queue(cpu_selector)


Hi,

 

Instantiating a queue object using a device_selector object of type cpu_selector results in:

 

Release:

Unhandled exception at 0x00007FFA6543A839 in AppName.exe: Microsoft C++ exception: cl::sycl::runtime_error at memory location

 

Debug:

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?

 

Best regards,

Tamer Assad
6 posts / 0 new

Hi,

Could you specify your environment, basetoolkit version which you are currently working on?

 

Rahul


Hi Rahul,

 

This has Occurred on a windows 10 environment,

oneAPI base tool kit : w_BaseKit_b_2021.1.3.085_offline

 

Thank you for your care.

 

Best regards,

Tamer Assad

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.

 

Best regards,

Tamer Assad

Hi Rahul,

 

Thank you for your support.

Installing the latest base kit version "w_BaseKit_b_2021.1.4.423" has fixed this problem.

 

Best regards,

 

Tamer Assad

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.

 

Rahul

Leave a Comment

Please sign in to add a comment. Not a member? Join today