P4 to Git Change 1367969 by gandryey@gera-lnx-rcf-lc on 2017/02/01 11:53:10
SWDEV-112171 - [ROCm CQE][OCLonLC][QR][G] System hangs/Failures observed with few WF conf tests, due to CL#1364923 - Disable ROCr copy buffer and use runtime kernel to avoid HW hangs in integer_ops. Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/blit.hpp#3 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#12 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#29 edit
This commit is contained in:
@@ -2106,8 +2106,9 @@ KernelBlitManager::copyBuffer(
|
||||
amd::ScopedLock k(lockXferOps_);
|
||||
bool result = false;
|
||||
|
||||
if (!gpuMem(srcMemory).isHostMemDirectAccess() &&
|
||||
!gpuMem(dstMemory).isHostMemDirectAccess()) {
|
||||
if (setup_.disableHwlCopyBuffer_ ||
|
||||
(!gpuMem(srcMemory).isHostMemDirectAccess() &&
|
||||
!gpuMem(dstMemory).isHostMemDirectAccess())) {
|
||||
uint blitType = BlitCopyBuffer;
|
||||
size_t dim = 1;
|
||||
size_t globalWorkOffset[3] = { 0, 0, 0 };
|
||||
|
||||
Reference in New Issue
Block a user