mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 12:23:05 +08:00
test: additional chaining sempahore required when dcFlushRequired
Related-to: NEO-12737 Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
906048771f
commit
493a100d5f
@@ -1904,11 +1904,11 @@ HWTEST2_F(InOrderCmdListTests, givenCmdsChainingFromAppendCopyWhenDispatchingKer
|
|||||||
|
|
||||||
offset = cmdStream->getUsed();
|
offset = cmdStream->getUsed();
|
||||||
immCmdList->appendMemoryCopyRegion(alloc, ®ion, 1, 1, alloc, ®ion, 1, 1, eventHandle, 0, nullptr, copyParams);
|
immCmdList->appendMemoryCopyRegion(alloc, ®ion, 1, 1, alloc, ®ion, 1, 1, eventHandle, 0, nullptr, copyParams);
|
||||||
findSemaphores(heaplessEnabled ? 1 : 2); // implicit dependency + chaining
|
findSemaphores((heaplessEnabled && !immCmdList->dcFlushSupport) ? 1 : 2); // implicit dependency + chaining
|
||||||
|
|
||||||
offset = cmdStream->getUsed();
|
offset = cmdStream->getUsed();
|
||||||
immCmdList->appendMemoryCopyRegion(alloc, ®ion, 1, 1, alloc, ®ion, 1, 1, nullptr, 0, nullptr, copyParams);
|
immCmdList->appendMemoryCopyRegion(alloc, ®ion, 1, 1, alloc, ®ion, 1, 1, nullptr, 0, nullptr, copyParams);
|
||||||
findSemaphores(heaplessEnabled ? 1 : 0); // no implicit dependency
|
findSemaphores((heaplessEnabled && !immCmdList->dcFlushSupport) ? 1 : 0); // no implicit dependency
|
||||||
|
|
||||||
context->freeMem(alloc);
|
context->freeMem(alloc);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user