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: d301d438f8]
Цей коміт міститься в:
foreman
2017-01-30 16:41:55 -05:00
джерело 88816ae021
коміт 347b14e315
+4 -2
Переглянути файл
@@ -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;