mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 09:03:14 +08:00
Pass device to flushTask.
- do not obtain it from memory manager Change-Id: Icc7c03dc925c69ec5932c5812151ac28dc34d20d
This commit is contained in:
committed by
sys_ocldev
parent
c001481557
commit
f60847b64e
@@ -68,7 +68,7 @@ HWTEST_F(CommandQueueSimpleTest, flushWaitlistDoesNotFlushSingleEventWhenTaskCou
|
||||
dispatchFlags.blocking = true;
|
||||
dispatchFlags.dcFlush = true;
|
||||
|
||||
csr.flushTask(stream, 0, stream, stream, stream, 0, dispatchFlags);
|
||||
csr.flushTask(stream, 0, stream, stream, stream, 0, dispatchFlags, *pDevice);
|
||||
|
||||
EXPECT_EQ(1u, csr.peekLatestSentTaskCount());
|
||||
csr.taskCount = 1;
|
||||
@@ -81,4 +81,4 @@ HWTEST_F(CommandQueueSimpleTest, flushWaitlistDoesNotFlushSingleEventWhenTaskCou
|
||||
EXPECT_EQ(1u, csr.peekTaskCount());
|
||||
|
||||
pDevice->getMemoryManager()->freeGraphicsMemory(gfxAllocation);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user