SWDEV-383199 - Use SC for luxmark for gfx10+

Change-Id: I693b00fd9fe8e48b7602c8c5a87b59cfae69d891
This commit is contained in:
Konstantin Zhuravlyov
2023-04-10 13:32:47 -04:00
zatwierdzone przez Konstantin Zhuravlyov
rodzic a3104c60e1
commit 667f048d18
+1 -2
Wyświetl plik
@@ -228,9 +228,8 @@ bool Settings::create(const Pal::DeviceProperties& palProp,
case Pal::AsicRevision::Navi10_A0:
gfx10Plus_ = true;
useLightning_ = GPU_ENABLE_LC;
// Force luxmark to use HSAIL for gfx10 if GPU_ENABLE_LC isn't set in ENV
// Force luxmark to use HSAIL for gfx10+ if GPU_ENABLE_LC isn't set in ENV
if (flagIsDefault(GPU_ENABLE_LC) &&
palProp.gfxLevel < Pal::GfxIpLevel::GfxIp11_0 &&
(appName == "luxmark.exe" || appName == "luxmark")) {
useLightning_ = false;
}