unified-runtime icon indicating copy to clipboard operation
unified-runtime copied to clipboard

[Cuda] Save the Cuda native error code on adapter-specific errors

Open GeorgeWeb opened this issue 1 year ago • 0 comments

This ErrorAdapterNativeCode can be used to propage the native error code values up the stack from unified-runtime when calling urAdapterGetLastError, if needed. This can be helpful in DPC++ sycl runtime exception handling, similarly to how the already handily setup setAdapterSpecificMessage also preserves the native error code by appending it to an error message buffer.

GeorgeWeb avatar Sep 13 '24 19:09 GeorgeWeb