Map allocation support for blit operations

Change-Id: Iff1b972b2a46610f9690c3412d00b994691e6e28
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
Related-To: NEO-3020
This commit is contained in:
Dunajski, Bartosz
2019-09-18 11:18:32 +02:00
committed by sys_ocldev
parent 438b27a73e
commit 4dd1155be6
7 changed files with 163 additions and 29 deletions

View File

@@ -88,6 +88,7 @@ cl_int CommandQueueHw<GfxFamily>::enqueueWriteBuffer(
dc.dstMemObj = buffer;
dc.dstOffset = {offset, 0, 0};
dc.size = {size, 0, 0};
dc.mapAllocation = mapAllocation;
builder.buildDispatchInfos(dispatchInfo, dc);
enqueueHandler<CL_COMMAND_WRITE_BUFFER>(