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:
Szymon Morek
2025-03-10 19:29:45 +00:00
committed by Compute-Runtime-Automation
parent b2b3b55b19
commit dacbce7f01
12 changed files with 272 additions and 29 deletions

View File

@@ -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,