Skip to content

Commit 27efe31

Browse files
Rebased against llvm/sycl
Signed-off-by: Zhang, Winston <[email protected]>
1 parent 1bcfc50 commit 27efe31

File tree

1 file changed

+3
-3
lines changed
  • unified-runtime/source/adapters/level_zero

1 file changed

+3
-3
lines changed

unified-runtime/source/adapters/level_zero/image.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -548,14 +548,14 @@ ur_result_t urBindlessImagesImageCopyExp(
548548
DstRowPitch,
549549
(uint32_t)pCopyRegion->copyExtent.height,
550550
(uint32_t)pCopyRegion->copyExtent.depth};
551-
uint32_t DstSlicePitch = 0;
552-
uint32_t SrcSlicePitch = 0;
553-
ze_copy_region_t ZeSrcRegion = {(uint32_t)pCopyRegion->srcOffset.x,
551+
ze_copy_region_t ZeSrcRegion = {(uint32_t)pCopyRegion->srcOffset.x,
554552
(uint32_t)pCopyRegion->srcOffset.y,
555553
(uint32_t)pCopyRegion->srcOffset.z,
556554
SrcRowPitch,
557555
(uint32_t)pCopyRegion->copyExtent.height,
558556
(uint32_t)pCopyRegion->copyExtent.depth};
557+
uint32_t DstSlicePitch = 0;
558+
uint32_t SrcSlicePitch = 0;
559559
ZE2UR_CALL(zeCommandListAppendMemoryCopyRegion,
560560
(ZeCommandList, pDst, &ZeDstRegion, DstRowPitch, DstSlicePitch,
561561
pSrc, &ZeSrcRegion, SrcRowPitch, SrcSlicePitch, ZeEvent,

0 commit comments

Comments
 (0)