- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'd like to test my asychronous exception handler passed to the sycl::queue constructor.
However I can't get my SYCL kernels to generate errors with invalid memory access, divide by zero, double precision maths etc. GPU kernels never seem to throw errors, though the results are wrong of course so presumably execution is just quietly terminated.
How can I force my kernel to generate an error running on Iris Xe GPU to test my exception handler?
Thanks.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The error you get from the asynchronous handler exception for GPU is limited, mostly just lets you know that there's an exception from GPU happens.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page