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

[HIP] Refactor HIP pointer type detection

Open GeorgeWeb opened this issue 1 year ago • 0 comments

(This is currently a WIP) TODO: Add description and explanation of the changes in this refactor.

TODO: Revisit this making a simpler helper getUSMHostOrDevicePtr function internal to enqueue.cpp, turning the *Result<...> PointerTypeOrInvalid helper function into a bool IsSystemHostPointer helper (that can be used in other enqueue entry points).

GeorgeWeb avatar Apr 15 '24 08:04 GeorgeWeb