mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 07:14:10 +08:00
fix: inherit work partition allocation from primary root csr
Related-To: NEO-8171 Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a7a28a5e0b
commit
d3d8b5fcc1
@@ -39,8 +39,8 @@ void populateFactoryTable<CommandStreamReceiverHw<Family>>() {
|
||||
template <>
|
||||
void CommandStreamReceiverHw<Family>::programEnginePrologue(LinearStream &csr) {
|
||||
if (!this->isEnginePrologueSent) {
|
||||
if (globalFenceAllocation) {
|
||||
EncodeMemoryFence<Family>::encodeSystemMemoryFence(csr, globalFenceAllocation);
|
||||
if (getGlobalFenceAllocation()) {
|
||||
EncodeMemoryFence<Family>::encodeSystemMemoryFence(csr, getGlobalFenceAllocation());
|
||||
}
|
||||
this->isEnginePrologueSent = true;
|
||||
}
|
||||
@@ -49,7 +49,7 @@ void CommandStreamReceiverHw<Family>::programEnginePrologue(LinearStream &csr) {
|
||||
template <>
|
||||
size_t CommandStreamReceiverHw<Family>::getCmdSizeForPrologue() const {
|
||||
if (!this->isEnginePrologueSent) {
|
||||
if (globalFenceAllocation) {
|
||||
if (getGlobalFenceAllocation()) {
|
||||
return EncodeMemoryFence<Family>::getSystemMemoryFenceSize();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user