mirror of
https://github.com/intel/compute-runtime.git
synced 2025-11-10 05:49:51 +08:00
Refactor MemorySynchronizationCommands class
Related-To: NEO-4338 Change-Id: Id0ae9c73293fd99f53fccc11a69ca14fa9a6d119 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
4bf503da12
commit
b2210fa5bb
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user