mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
fix: use stored value instead calling virtual method
Related-To: NEO-7828 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
cfa187aec6
commit
d276731757
@@ -344,10 +344,7 @@ CompletionStamp CommandStreamReceiverHw<GfxFamily>::flushTask(
|
||||
levelClosed = true;
|
||||
// if we guard with ppc, flush dc as well to speed up completion latency
|
||||
if (dispatchFlags.guardCommandBufferWithPipeControl) {
|
||||
const auto &productHelper = getProductHelper();
|
||||
if (productHelper.isDcFlushAllowed()) {
|
||||
dispatchFlags.dcFlush = true;
|
||||
}
|
||||
dispatchFlags.dcFlush = this->dcFlushSupport;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user