mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 09:03:14 +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
@@ -112,7 +112,7 @@ void EncodeDispatchKernel<Family>::encode(CommandContainer &container,
|
||||
kernelDescriptor.payloadMappings.samplerTable.numSamplers,
|
||||
kernelDescriptor.payloadMappings.samplerTable.borderColor,
|
||||
dispatchInterface->getDynamicStateHeapData(),
|
||||
device->getBindlessHeapsHelper(), device->getHardwareInfo());
|
||||
device->getBindlessHeapsHelper(), hwInfo);
|
||||
}
|
||||
|
||||
idd.setSamplerStatePointer(samplerStateOffset);
|
||||
@@ -169,7 +169,7 @@ void EncodeDispatchKernel<Family>::encode(CommandContainer &container,
|
||||
|
||||
if (flush) {
|
||||
PipeControlArgs args;
|
||||
args.dcFlushEnable = MemorySynchronizationCommands<Family>::isDcFlushAllowed(true);
|
||||
args.dcFlushEnable = MemorySynchronizationCommands<Family>::isDcFlushAllowed(true, hwInfo);
|
||||
if (dirtyHeaps) {
|
||||
args.hdcPipelineFlush = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user