We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8b8ab0f + 39d3dde commit 039c5d1Copy full SHA for 039c5d1
source/adapters/hip/enqueue.cpp
@@ -1561,8 +1561,10 @@ UR_APIEXPORT ur_result_t UR_APICALL urEnqueueUSMMemcpy2D(
1561
// which makes the HIP runtime not correctly derive the copy kind
1562
// (direction) for the copies since ROCm 5.6.0+. See:
1563
// https://github.com/ROCm/clr/issues/40
1564
- // TODO: Add maximum HIP_VERSION when bug has been fixed.
1565
-#if HIP_VERSION >= 50600000
+ // Fixed by commit
+ // https://github.com/ROCm/clr/commit/d3bfb55d7a934355257a72fab538a0a634b43cad
1566
+ // included in releases starting from ROCm 6.1.0.
1567
+#if HIP_VERSION >= 50600000 && HIP_VERSION < 60100000
1568
hipPointerAttribute_t srcAttribs{};
1569
hipPointerAttribute_t dstAttribs{};
1570
0 commit comments