From 493a100d5f67a4c16b439f7dcc66ac56e7345ee4 Mon Sep 17 00:00:00 2001 From: Damian Tomczak Date: Mon, 10 Feb 2025 04:10:50 +0000 Subject: [PATCH] test: additional chaining sempahore required when dcFlushRequired Related-to: NEO-12737 Signed-off-by: Damian Tomczak --- .../unit_tests/sources/cmdlist/test_in_order_cmdlist_1.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/level_zero/core/test/unit_tests/sources/cmdlist/test_in_order_cmdlist_1.cpp b/level_zero/core/test/unit_tests/sources/cmdlist/test_in_order_cmdlist_1.cpp index 52404ec913..958a1e401f 100644 --- a/level_zero/core/test/unit_tests/sources/cmdlist/test_in_order_cmdlist_1.cpp +++ b/level_zero/core/test/unit_tests/sources/cmdlist/test_in_order_cmdlist_1.cpp @@ -1904,11 +1904,11 @@ HWTEST2_F(InOrderCmdListTests, givenCmdsChainingFromAppendCopyWhenDispatchingKer offset = cmdStream->getUsed(); 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(); 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); }