mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Add isDcFlushAllowed function to HwInfoConfig
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
4d906328e1
commit
0fd685541d
@ -59,7 +59,7 @@ bool HwHelperHw<Family>::isStatelesToStatefullWithOffsetSupported() const {
|
||||
template <>
|
||||
void MemorySynchronizationCommands<Family>::addPipeControl(LinearStream &commandStream, PipeControlArgs &args) {
|
||||
Family::PIPE_CONTROL cmd = Family::cmdInitPipeControl;
|
||||
args.dcFlushEnable = MemorySynchronizationCommands<Family>::isDcFlushAllowed(true);
|
||||
args.dcFlushEnable = true;
|
||||
MemorySynchronizationCommands<Family>::setPipeControl(cmd, args);
|
||||
Family::PIPE_CONTROL *cmdBuffer = commandStream.getSpaceForCmd<Family::PIPE_CONTROL>();
|
||||
*cmdBuffer = cmd;
|
||||
|
Reference in New Issue
Block a user