Skip to content

Commit dbff2e8

Browse files
author
Georgi Mirazchiyski
committed
Add a todo comment as a reminder to add maximum HIP_VERSION for the urEnqueueUSMMemcpy2D workaround
1 parent 0b4249b commit dbff2e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/adapters/hip/enqueue.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1666,6 +1666,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urEnqueueUSMMemcpy2D(
16661666
// There is an issue with hipMemcpy2D* when hipMemcpyDefault is used, which
16671667
// makes the HIP runtime not correctly derive the copy kind (direction) for
16681668
// the copies since ROCm 5.6.0+. See: https://github.com/ROCm/clr/issues/40
1669+
// TODO: Add maximum HIP_VERSION when bug has been fixed.
16691670
#if HIP_VERSION >= 50600000
16701671
hipPointerAttribute_t srcAttribs{};
16711672
hipPointerAttribute_t dstAttribs{};

0 commit comments

Comments
 (0)