mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Enable flush task for immediate command lists
Previously enabled for: DG2, PVC. With this commit enabling for Gen9 onwards. Related-To: LOCI-3379 Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
436ec1234b
commit
95c3ef28fc
@@ -144,11 +144,11 @@ ze_result_t CommandListCoreFamily<gfxCoreFamily>::initialize(Device *device, NEO
|
||||
|
||||
if (this->isFlushTaskSubmissionEnabled) {
|
||||
commandContainer.setFlushTaskUsedForImmediate(this->isFlushTaskSubmissionEnabled);
|
||||
commandContainer.setNumIddPerBlock(1);
|
||||
}
|
||||
|
||||
if (this->immediateCmdListHeapSharing) {
|
||||
commandContainer.enableHeapSharing();
|
||||
commandContainer.setNumIddPerBlock(1);
|
||||
}
|
||||
|
||||
commandContainer.setReservedSshSize(getReserveSshSize());
|
||||
|
||||
@@ -138,6 +138,7 @@ CommandList *CommandList::createImmediate(uint32_t productFamily, Device *device
|
||||
if (NEO::DebugManager.flags.EnableFlushTaskSubmission.get() != -1) {
|
||||
commandList->isFlushTaskSubmissionEnabled = !!NEO::DebugManager.flags.EnableFlushTaskSubmission.get();
|
||||
}
|
||||
PRINT_DEBUG_STRING(NEO::DebugManager.flags.PrintDebugMessages.get(), stderr, "Flush Task for Immediate command list : %s\n", commandList->isFlushTaskSubmissionEnabled ? "Enabled" : "Disabled");
|
||||
commandList->immediateCmdListHeapSharing = L0HwHelper::enableImmediateCmdListHeapSharing(hwInfo, commandList->isFlushTaskSubmissionEnabled);
|
||||
}
|
||||
returnValue = commandList->initialize(device, engineGroupType, desc->flags);
|
||||
|
||||
Reference in New Issue
Block a user