Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a todo comment as a reminder to add maximum HIP_VERSION for the u…
Browse files Browse the repository at this point in the history
…rEnqueueUSMMemcpy2D workaround
GeorgeWeb committed Jan 17, 2024
1 parent 64b99d2 commit 45627fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/adapters/hip/enqueue.cpp
Original file line number Diff line number Diff line change
@@ -1683,6 +1683,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urEnqueueUSMMemcpy2D(
// There is an issue with hipMemcpy2D* when hipMemcpyDefault is used, which
// makes the HIP runtime not correctly derive the copy kind (direction) for
// the copies since ROCm 5.6.0+. See: https://github.com/ROCm/clr/issues/40
// TODO: Add maximum HIP_VERSION when bug has been fixed.
#if HIP_VERSION >= 50600000
hipPointerAttribute_t srcAttribs{};
hipPointerAttribute_t dstAttribs{};

0 comments on commit 45627fc

Please sign in to comment.