Pass device to flushTask.

- do not obtain it from memory manager

Change-Id: Icc7c03dc925c69ec5932c5812151ac28dc34d20d
This commit is contained in:
Mrozek, Michal
2018-08-01 10:01:41 +02:00
committed by sys_ocldev
parent c001481557
commit f60847b64e
16 changed files with 162 additions and 99 deletions

View File

@@ -572,7 +572,8 @@ CompletionStamp CommandQueueHw<GfxFamily>::enqueueNonBlocked(
*ioh,
getIndirectHeap(IndirectHeap::SURFACE_STATE, 0u),
taskLevel,
dispatchFlags);
dispatchFlags,
*device);
for (auto surface : CreateRange(surfaces, surfaceCount)) {
surface->setCompletionStamp(completionStamp, device, this);