P4 to Git Change 1128337 by rili@rili_opencl_stg on 2015/03/06 14:37:45
EPR #415638 - Improve APU performance
- Force remote allocation of local and persistent memory to Remote from RemoteUSWC:
- Use gpu copy for remote/pinned image/buffer.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpublit.cpp#114 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#211 edit
[ROCm/clr commit: 637492a7dd]
This commit is contained in:
@@ -547,6 +547,7 @@ DmaBlitManager::copyBuffer(
|
||||
{
|
||||
if (setup_.disableCopyBuffer_ ||
|
||||
(gpuMem(srcMemory).isHostMemDirectAccess() && gpuMem(srcMemory).isCacheable() &&
|
||||
!dev().settings().apuSystem_ &&
|
||||
gpuMem(dstMemory).isHostMemDirectAccess())) {
|
||||
return HostBlitManager::copyBuffer(
|
||||
srcMemory, dstMemory, srcOrigin, dstOrigin, size);
|
||||
|
||||
Reference in New Issue
Block a user