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
@@ -28,12 +28,12 @@ void HwHelperHw<Family>::setupHardwareCapabilities(HardwareCapabilities *caps, c
|
||||
}
|
||||
|
||||
template <>
|
||||
typename Family::PIPE_CONTROL *MemorySynchronizationCommands<Family>::addPipeControl(LinearStream &commandStream, bool dcFlush) {
|
||||
void MemorySynchronizationCommands<Family>::addPipeControl(LinearStream &commandStream, PipeControlArgs &args) {
|
||||
Family::PIPE_CONTROL cmd = Family::cmdInitPipeControl;
|
||||
MemorySynchronizationCommands<Family>::setPipeControl(cmd, true);
|
||||
args.dcFlushEnable = true;
|
||||
MemorySynchronizationCommands<Family>::setPipeControl(cmd, args);
|
||||
Family::PIPE_CONTROL *cmdBuffer = commandStream.getSpaceForCmd<Family::PIPE_CONTROL>();
|
||||
*cmdBuffer = cmd;
|
||||
return cmdBuffer;
|
||||
}
|
||||
|
||||
template class AubHelperHw<Family>;
|
||||
|
||||
Reference in New Issue
Block a user