P4 to Git Change 1254144 by gandryey@gera-rcf-lnx on 2016/04/04 11:14:17
SWDEV-79445 - OCL generic changes and code clean-up - Move prepinned logic to the abstraciton layer Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#193 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#270 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#543 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.hpp#158 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#398 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsadevice.cpp#61 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsadevice.hpp#29 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsamemory.cpp#23 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsavirtual.cpp#62 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#3 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#3 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#3 edit
This commit is contained in:
@@ -660,7 +660,7 @@ VirtualGPU::submitReadMemory(amd::ReadMemoryCommand& vcmd)
|
||||
|
||||
size_t offset = 0;
|
||||
// Find if virtual address is a CL allocation
|
||||
gpu::Memory* hostMemory = dev().findMemoryFromVA(vcmd.destination(), &offset);
|
||||
device::Memory* hostMemory = dev().findMemoryFromVA(vcmd.destination(), &offset);
|
||||
|
||||
profilingBegin(vcmd, true);
|
||||
|
||||
@@ -765,7 +765,7 @@ VirtualGPU::submitWriteMemory(amd::WriteMemoryCommand& vcmd)
|
||||
gpu::Memory* memory = dev().getGpuMemory(&vcmd.destination());
|
||||
size_t offset = 0;
|
||||
// Find if virtual address is a CL allocation
|
||||
gpu::Memory* hostMemory = dev().findMemoryFromVA(vcmd.source(), &offset);
|
||||
device::Memory* hostMemory = dev().findMemoryFromVA(vcmd.source(), &offset);
|
||||
|
||||
profilingBegin(vcmd, true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user