You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UR_RESULT_ADAPTER_SPECIFIC_ERROR can be used to emit adapter specific warnings as well as errors.
In CUDA adapter warnings are reported if setErrorMessage is called with UR_SUCCESS followed by a return of UR_RESULT_ADAPTER_SPECIFIC_ERROR. Errors are reported if setErrorMessage is called with UR_RESULT_ADAPTER_SPECIFIC_ERROR followed by a return of UR_RESULT_ADAPTER_SPECIFIC_ERROR. This is unintuitive. It would be nice if we could return either
UR_RESULT_ADAPTER_SPECIFIC_ERROR for errors
UR_RESULT_ADAPTER_SPECIFIC_WARNING for warnings
And setErrorMessage would not need to take an extra ur_result_t param.
The text was updated successfully, but these errors were encountered:
UR_RESULT_ADAPTER_SPECIFIC_ERROR
can be used to emit adapter specific warnings as well as errors.In CUDA adapter warnings are reported if
setErrorMessage
is called withUR_SUCCESS
followed by a return ofUR_RESULT_ADAPTER_SPECIFIC_ERROR
. Errors are reported ifsetErrorMessage
is called withUR_RESULT_ADAPTER_SPECIFIC_ERROR
followed by a return ofUR_RESULT_ADAPTER_SPECIFIC_ERROR
. This is unintuitive. It would be nice if we could return eitherUR_RESULT_ADAPTER_SPECIFIC_ERROR
for errorsUR_RESULT_ADAPTER_SPECIFIC_WARNING
for warningsAnd
setErrorMessage
would not need to take an extraur_result_t
param.The text was updated successfully, but these errors were encountered: