refactor: remove not needed code

- low priority never uses direct submission

Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
This commit is contained in:
Michal Mrozek
2025-09-02 11:57:15 +00:00
committed by Compute-Runtime-Automation
parent c340a8b075
commit 3ee33d26d9
7 changed files with 1 additions and 33 deletions

View File

@@ -85,7 +85,7 @@ bool OsContext::isDirectSubmissionAvailable(const HardwareInfo &hwInfo, bool &su
startDirect = directSubmissionProperty.useNonDefault;
}
if (this->isLowPriority()) {
startDirect = directSubmissionProperty.useLowPriority;
startDirect = false;
}
if (this->isInternalEngine()) {
startDirect = directSubmissionProperty.useInternal;