Skip to content

Commit 5db2961

Browse files
committed
This should (hopefully) fix HIP issues
1 parent 23521b0 commit 5db2961

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/source/handler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1817,7 +1817,7 @@ void handler::ext_oneapi_copy(
18171817
MDstPtr = Dest;
18181818

18191819
detail::fill_copy_args(get_impl(), SrcImgDesc, DestImgDesc,
1820-
UR_EXP_IMAGE_COPY_FLAG_DEVICE_TO_HOST,
1820+
UR_EXP_IMAGE_COPY_FLAG_DEVICE_TO_DEVICE,
18211821
UR_EXP_IMAGE_COPY_INPUT_TYPES_IMAGE_TO_MEM, 0,
18221822
DestRowPitch, SrcOffset, {0, 0, 0}, DestOffset,
18231823
{0, 0, 0}, CopyExtent);

0 commit comments

Comments
 (0)