Refactor MemorySynchronizationCommands class

Related-To: NEO-4338

Change-Id: Id0ae9c73293fd99f53fccc11a69ca14fa9a6d119
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
Zbigniew Zdanowicz
2020-04-26 21:48:59 +02:00
committed by sys_ocldev
parent 4bf503da12
commit b2210fa5bb
39 changed files with 407 additions and 194 deletions

View File

@@ -12,6 +12,8 @@
#include "opencl/source/built_ins/builtins_dispatch_builder.h"
#include "opencl/source/helpers/dispatch_info_builder.h"
#include "pipe_control_args.h"
#include <memory>
namespace NEO {
@@ -65,7 +67,8 @@ class BuiltInOp<EBuiltInOps::AuxTranslation> : public BuiltinDispatchInfoBuilder
DispatchInfo::EstimateCommandsMethodT>;
template <typename GfxFamily, bool dcFlush>
static void dispatchPipeControl(LinearStream &linearStream, TimestampPacketDependencies *, const HardwareInfo &) {
MemorySynchronizationCommands<GfxFamily>::addPipeControl(linearStream, dcFlush);
PipeControlArgs args(dcFlush);
MemorySynchronizationCommands<GfxFamily>::addPipeControl(linearStream, args);
}
template <typename GfxFamily>