diff --git a/level_zero/core/source/cmdlist/cmdlist_hw.inl b/level_zero/core/source/cmdlist/cmdlist_hw.inl index b1ce9fe23b..a4730ca004 100644 --- a/level_zero/core/source/cmdlist/cmdlist_hw.inl +++ b/level_zero/core/source/cmdlist/cmdlist_hw.inl @@ -1536,6 +1536,7 @@ void CommandListCoreFamily::appendEventForProfiling(ze_event_hand } else { NEO::PipeControlArgs args = {}; + args.dcFlushEnable = true; NEO::MemorySynchronizationCommands::addPipeControl(*commandContainer.getCommandStream(), args); appendWriteKernelTimestamp(hEvent, beforeWalker, true); diff --git a/level_zero/core/test/unit_tests/sources/cmdlist/test_cmdlist_append_launch_kernel.cpp b/level_zero/core/test/unit_tests/sources/cmdlist/test_cmdlist_append_launch_kernel.cpp index 07b290bfe3..8951b22668 100644 --- a/level_zero/core/test/unit_tests/sources/cmdlist/test_cmdlist_append_launch_kernel.cpp +++ b/level_zero/core/test/unit_tests/sources/cmdlist/test_cmdlist_append_launch_kernel.cpp @@ -337,7 +337,7 @@ HWTEST2_F(CommandListAppendLaunchKernel, givenTimestampEventsWhenAppendingKernel { auto cmd = genCmdCast(*itor); EXPECT_TRUE(cmd->getCommandStreamerStallEnable()); - EXPECT_FALSE(cmd->getDcFlushEnable()); + EXPECT_TRUE(cmd->getDcFlushEnable()); } itor++;