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:
@@ -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());
|
||||
|
||||
Referencia en una nueva incidencia
Block a user