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:
parent
08655a315c
commit
5c9d43e618
|
@ -1536,6 +1536,7 @@ void CommandListCoreFamily<gfxCoreFamily>::appendEventForProfiling(ze_event_hand
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
NEO::PipeControlArgs args = {};
|
NEO::PipeControlArgs args = {};
|
||||||
|
args.dcFlushEnable = true;
|
||||||
|
|
||||||
NEO::MemorySynchronizationCommands<GfxFamily>::addPipeControl(*commandContainer.getCommandStream(), args);
|
NEO::MemorySynchronizationCommands<GfxFamily>::addPipeControl(*commandContainer.getCommandStream(), args);
|
||||||
appendWriteKernelTimestamp(hEvent, beforeWalker, true);
|
appendWriteKernelTimestamp(hEvent, beforeWalker, true);
|
||||||
|
|
|
@ -337,7 +337,7 @@ HWTEST2_F(CommandListAppendLaunchKernel, givenTimestampEventsWhenAppendingKernel
|
||||||
{
|
{
|
||||||
auto cmd = genCmdCast<PIPE_CONTROL *>(*itor);
|
auto cmd = genCmdCast<PIPE_CONTROL *>(*itor);
|
||||||
EXPECT_TRUE(cmd->getCommandStreamerStallEnable());
|
EXPECT_TRUE(cmd->getCommandStreamerStallEnable());
|
||||||
EXPECT_FALSE(cmd->getDcFlushEnable());
|
EXPECT_TRUE(cmd->getDcFlushEnable());
|
||||||
}
|
}
|
||||||
itor++;
|
itor++;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue