mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
[fix] pass command list heap address model to container
This fix will allow save memory and do not allocate private heaps when global heaps are enabled. Related-To: NEO-5055 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
4475e2228d
commit
a761003f4b
@@ -169,6 +169,7 @@ ze_result_t CommandListCoreFamily<gfxCoreFamily>::initialize(Device *device, NEO
|
||||
this->l1CachePolicyData.init(productHelper);
|
||||
this->commandContainer.l1CachePolicyDataRef() = &this->l1CachePolicyData;
|
||||
this->cmdListHeapAddressModel = L0GfxCoreHelper::getHeapAddressModel(rootDeviceEnvironment);
|
||||
this->commandContainer.setHeapAddressModel(this->cmdListHeapAddressModel);
|
||||
this->requiredStreamState.initSupport(rootDeviceEnvironment);
|
||||
this->finalStreamState.initSupport(rootDeviceEnvironment);
|
||||
this->commandContainer.setStateBaseAddressTracking(this->stateBaseAddressTracking);
|
||||
|
||||
Reference in New Issue
Block a user