mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
performance: add one time context init system fence to immediate flush task
Related-To: NEO-7808 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a099903ebd
commit
7aff4e1bf4
@@ -49,7 +49,7 @@ template <>
|
||||
size_t CommandStreamReceiverHw<Family>::getCmdSizeForPrologue() const {
|
||||
if (!this->isEnginePrologueSent) {
|
||||
if (globalFenceAllocation) {
|
||||
return sizeof(Family::STATE_SYSTEM_MEM_FENCE_ADDRESS);
|
||||
return EncodeMemoryFence<Family>::getSystemMemoryFenceSize();
|
||||
}
|
||||
}
|
||||
return 0u;
|
||||
|
||||
Reference in New Issue
Block a user