mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 01:35:20 +08:00
Revert "Remove unnecessary flush in event profiling"
This reverts commit a0db607083.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
08655a315c
commit
5c9d43e618
@@ -1536,6 +1536,7 @@ void CommandListCoreFamily<gfxCoreFamily>::appendEventForProfiling(ze_event_hand
|
||||
} else {
|
||||
|
||||
NEO::PipeControlArgs args = {};
|
||||
args.dcFlushEnable = true;
|
||||
|
||||
NEO::MemorySynchronizationCommands<GfxFamily>::addPipeControl(*commandContainer.getCommandStream(), args);
|
||||
appendWriteKernelTimestamp(hEvent, beforeWalker, true);
|
||||
|
||||
@@ -337,7 +337,7 @@ HWTEST2_F(CommandListAppendLaunchKernel, givenTimestampEventsWhenAppendingKernel
|
||||
{
|
||||
auto cmd = genCmdCast<PIPE_CONTROL *>(*itor);
|
||||
EXPECT_TRUE(cmd->getCommandStreamerStallEnable());
|
||||
EXPECT_FALSE(cmd->getDcFlushEnable());
|
||||
EXPECT_TRUE(cmd->getDcFlushEnable());
|
||||
}
|
||||
itor++;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user