- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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,
- Tags:
- General Support
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you specify your environment, basetoolkit version which you are currently working on?
Rahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page