P4 to Git Change 1366502 by gandryey@gera-lnx-rcf-lc on 2017/01/26 14:44:13

SWDEV-112016 - [ROCm CQE][OCLonLC][QR][G] Seg fault observed with "sub_buffers_read_write" of Buffers, due to CL#1364923
	- Take the host pointer for CPU access in bufferfill.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#8 edit
Este commit está contenido en:
foreman
2017-01-26 14:52:51 -05:00
padre 5fd072d9b3
commit 027f8d9108
+1 -1
Ver fichero
@@ -2063,7 +2063,7 @@ KernelBlitManager::fillBuffer(
if (gpuCB == NULL) {
return false;
}
void* constBuf = gpuCB->getDeviceMemory();
void* constBuf = constantBuffer_->getHostMem();
memcpy(constBuf, pattern, patternSize);
mem = as_cl<amd::Memory>(gpuCB->owner());