Skip to content

Conversation

@kbenzie
Copy link
Contributor

@kbenzie kbenzie commented Jun 9, 2023

Remove the urGetLastResult() entry-point and replace it with
urPlatformGetLastError(). This primary difference is the addition of
the pError out parameter which returns an error code emitted from a
failed driver entry-point which resulted in a Unified Runtime
entry-point returning UR_RESULT_ERROR_ADAPTER_SPECIFIC.

Fixes #500.

@kbenzie kbenzie force-pushed the benie/platform-get-last-error branch from b2b8a1a to bf91b29 Compare June 12, 2023 12:28
@kbenzie kbenzie changed the title [ur] Imrpove reporting of adapter specific errors [ur] Improve reporting of adapter specific errors Jun 13, 2023
Remove the `urGetLastResult()` entry-point and replace it with
`urPlatformGetLastError()`. This primary difference is the addition of
the `pError` out parameter which returns an error code emitted from a
failed driver entry-point which resulted in a Unified Runtime
entry-point returning `UR_RESULT_ERROR_ADAPTER_SPECIFIC`.

Fixes oneapi-src#500.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve reporting errors up through the stack

4 participants