Remove redundant DualSubSliceCount checks

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
Filip Hazubski
2021-06-01 15:11:22 +00:00
committed by Compute-Runtime-Automation
parent ed649fae66
commit 5e85fe5042
3 changed files with 2 additions and 6 deletions

View File

@@ -194,6 +194,8 @@ bool Device::createDeviceImpl() {
setAsEngineInstanced();
auto &hwInfo = getHardwareInfo();
UNRECOVERABLE_IF(0 == hwInfo.gtSystemInfo.DualSubSliceCount);
preemptionMode = PreemptionHelper::getDefaultPreemptionMode(hwInfo);
auto &hwHelper = HwHelper::get(hwInfo.platform.eRenderCoreFamily);