Init ULLS before cmd container init

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2023-02-23 11:37:45 +00:00
committed by Compute-Runtime-Automation
parent 43a49c4486
commit 26edbbcb37

View File

@@ -147,6 +147,8 @@ CommandList *CommandList::createImmediate(uint32_t productFamily, Device *device
bool enabledCmdListSharing = !NEO::EngineHelper::isCopyOnlyEngineType(engineGroupType) && commandList->isFlushTaskSubmissionEnabled;
commandList->immediateCmdListHeapSharing = L0GfxCoreHelper::enableImmediateCmdListHeapSharing(rootDeviceEnvironment, enabledCmdListSharing);
}
csr->initializeResources();
csr->initDirectSubmission();
returnValue = commandList->initialize(device, engineGroupType, desc->flags);
if (returnValue != ZE_RESULT_SUCCESS) {
commandList->destroy();