Add ults for overrideGfxPartitionLayoutForWsl function

- move implementation from linux to shared

Related-To: NEO-6391
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
This commit is contained in:
Kamil Diedrich
2021-12-09 13:34:33 +00:00
committed by Compute-Runtime-Automation
parent 3511b4755f
commit b4f4cad6f9
4 changed files with 21 additions and 5 deletions

View File

@@ -30,10 +30,5 @@ int HwInfoConfigHw<gfxProduct>::configureHardwareCustom(HardwareInfo *hwInfo, OS
return 0;
}
template <>
bool HwInfoConfigHw<gfxProduct>::overrideGfxPartitionLayoutForWsl() const {
return true;
}
template class HwInfoConfigHw<gfxProduct>;
} // namespace NEO

View File

@@ -56,3 +56,8 @@ template <>
bool HwInfoConfigHw<gfxProduct>::obtainBlitterPreference(const HardwareInfo &hwInfo) const {
return true;
}
template <>
bool HwInfoConfigHw<gfxProduct>::overrideGfxPartitionLayoutForWsl() const {
return true;
}