From 347b14e3151ba3e3053906ebba2e00fec6c50436 Mon Sep 17 00:00:00 2001 From: foreman Date: Mon, 30 Jan 2017 16:41:55 -0500 Subject: [PATCH] P4 to Git Change 1367307 by gandryey@gera-w8 on 2017/01/30 16:30:52 SWDEV-112171 - [ROCm CQE][OCLonLC][QR][G] System hangs/Failures observed with few WF conf tests, due to CL#1364923 - Add missing row and slice pitches to fix "clReadWriteImage Pitch" and "clFillImage pitch" tests Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#9 edit [ROCm/clr commit: d301d438f874290921219e5757c49f0432dc3b15] --- projects/clr/rocclr/runtime/device/rocm/rocblit.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/projects/clr/rocclr/runtime/device/rocm/rocblit.cpp b/projects/clr/rocclr/runtime/device/rocm/rocblit.cpp index fe3851b163..c4a9210ebb 100644 --- a/projects/clr/rocclr/runtime/device/rocm/rocblit.cpp +++ b/projects/clr/rocclr/runtime/device/rocm/rocblit.cpp @@ -1070,7 +1070,8 @@ KernelBlitManager::copyBufferToImageKernel( // Fall into the host path if the image format was rejected if (rejected) { return DmaBlitManager::copyBufferToImage( - srcMemory, dstMemory, srcOrigin, dstOrigin, size, entire); + srcMemory, dstMemory, srcOrigin, dstOrigin, + size, entire, rowPitch, slicePitch); } // Use a common blit type with three dimensions by default @@ -1273,7 +1274,8 @@ KernelBlitManager::copyImageToBufferKernel( // Fall into the host path if the image format was rejected if (rejected) { return DmaBlitManager::copyImageToBuffer( - srcMemory, dstMemory, srcOrigin, dstOrigin, size, entire); + srcMemory, dstMemory, srcOrigin, dstOrigin, + size, entire, rowPitch, slicePitch); } uint blitType = BlitCopyImageToBuffer;