SWDEV-339913 - Move SingleFPDenorm under ASIC Revision from GFXIP switch case.

Change-Id: I7826f81bdf7cf1479882f261d495c2c287725b3c


[ROCm/clr commit: 3a78a1edcd]
This commit is contained in:
kjayapra-amd
2022-06-02 07:03:50 -07:00
committed by Karthik Jayaprakash
szülő 07a15d664e
commit 8e43fcc5df
@@ -266,6 +266,9 @@ bool Settings::create(const Pal::DeviceProperties& palProp,
aiPlus_ = true;
enableCoopGroups_ = IS_LINUX;
enableCoopMultiDeviceGroups_ = IS_LINUX;
if (useLightning_) {
singleFpDenorm_ = true;
}
// Fall through to VI ...
case Pal::AsicRevision::Carrizo:
case Pal::AsicRevision::Bristol:
@@ -533,17 +536,6 @@ bool Settings::create(const Pal::DeviceProperties& palProp,
#endif
}
if (useLightning_) {
switch (palProp.gfxLevel) {
case Pal::GfxIpLevel::GfxIp10_3:
case Pal::GfxIpLevel::GfxIp10_1:
case Pal::GfxIpLevel::GfxIp9:
singleFpDenorm_ = true;
break;
default:
break;
}
}
// If is Rebar, override prepinned memory size.
if ((heaps[Pal::GpuHeapInvisible].heapSize == 0) &&
(heaps[Pal::GpuHeapLocal].heapSize > 256 * Mi)) {