P4 to Git Change 1322968 by lmoriche@lmoriche_opencl_dev on 2016/10/05 17:07:27
SWDEV-104521 - [SSG] OpenCL API rename Affected files ... ... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_context.cpp#51 edit ... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.cpp#16 edit ... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.h#5 edit ... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#27 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#407 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#28 edit ... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#76 edit ... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLLiquidFlash.cpp#5 edit ... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLLiquidFlash.h#4 edit
This commit is contained in:
@@ -594,7 +594,7 @@ TransferBufferFileCommand::submit(device::VirtualDevice& device)
|
||||
CL_MEM_ALLOC_HOST_PTR | CL_MEM_USE_PERSISTENT_MEM_AMD)) {
|
||||
void* srcDstBuffer = mem->cpuMap(device);
|
||||
// Make HD transfer to the host accessible memory
|
||||
bool writeBuffer(type() == CL_COMMAND_WRITE_BUFFER_FROM_FILE_AMD);
|
||||
bool writeBuffer(type() == CL_COMMAND_READ_SSG_FILE_AMD);
|
||||
if (!file()->transferBlock(writeBuffer, srcDstBuffer, mem->size(),
|
||||
fileOffset(), origin()[0], size()[0])) {
|
||||
setStatus(CL_INVALID_OPERATION);
|
||||
|
||||
Reference in New Issue
Block a user