mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 17:13:29 +08:00
performance: introduce staging read for cl_buffer
Related-To: NEO-14026 Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
b2b3b55b19
commit
dacbce7f01
@@ -2542,7 +2542,8 @@ cl_int CL_API_CALL clEnqueueWriteBuffer(cl_command_queue commandQueue,
|
||||
}
|
||||
|
||||
if (pCommandQueue->isValidForStagingTransfer(pBuffer, ptr, cb, CL_COMMAND_WRITE_BUFFER, blockingWrite, numEventsInWaitList > 0)) {
|
||||
retVal = pCommandQueue->enqueueStagingWriteBuffer(
|
||||
retVal = pCommandQueue->enqueueStagingBufferTransfer(
|
||||
CL_COMMAND_WRITE_BUFFER,
|
||||
pBuffer,
|
||||
blockingWrite,
|
||||
offset,
|
||||
|
||||
Reference in New Issue
Block a user