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
[HIP] Improve urEnqueueUSMAdvise return code for non-shared mem
We can only call hipMemAdvise on managed pointers allocated via
hipMallocManaged, so can only support the UR entry point on pointers
allocated via urUSMSharedAlloc.
When faced with other pointers, we're supposed to ignore them and result
"success", but instead this PR continues the tradition of returning
UR_RESULT_ERROR_ADAPTER_SPECIFIC with a warning message providing the
user more information. This should all be fixed up later when there's a
better warning mechanism.
0 commit comments