[3/n] L0 Immediate commandlist improvements

Enable flushTask by default
Related-To: LOCI-1988

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
This commit is contained in:
Aravind Gopalakrishnan
2022-02-01 21:17:53 +00:00
committed by Compute-Runtime-Automation
parent 900e63102c
commit 493a96b308
5 changed files with 413 additions and 16 deletions

View File

@@ -135,8 +135,11 @@ ze_result_t CommandListCoreFamily<gfxCoreFamily>::initialize(Device *device, NEO
this->partitionCount = static_cast<uint32_t>(this->device->getNEODevice()->getDeviceBitfield().count());
}
if (this->cmdListType == CommandListType::TYPE_IMMEDIATE && !isCopyOnly()) {
this->isFlushTaskSubmissionEnabled = NEO::DebugManager.flags.EnableFlushTaskSubmission.get();
if (this->cmdListType == CommandListType::TYPE_IMMEDIATE && !isCopyOnly() && !isInternal()) {
this->isFlushTaskSubmissionEnabled = true;
if (NEO::DebugManager.flags.EnableFlushTaskSubmission.get() != -1) {
this->isFlushTaskSubmissionEnabled = !!NEO::DebugManager.flags.EnableFlushTaskSubmission.get();
}
commandContainer.setFlushTaskUsedForImmediate(this->isFlushTaskSubmissionEnabled);
}