mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
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:
committed by
Compute-Runtime-Automation
parent
c340a8b075
commit
3ee33d26d9
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user