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
[ROCm/clr commit: 027f8d9108]
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user