SWDEV-516564 - SWDEV-512817 - Remove mentions of gfx940 and gfx941

Change-Id: Ia069fcb9c6948c3fc9a00961593c9dcc59609375
Tá an tiomantas seo le fáil i:
Branislav Brzak
2025-02-26 11:49:41 +00:00
tiomanta ag Branislav Brzak
tuismitheoir e03e4f3b5d
tiomantas c2d1776ebd
D'athraigh 10 comhad le 10 breiseanna agus 469 scriosta
-9
Féach ar an gComhad
@@ -1251,15 +1251,6 @@ bool Device::populateOCLDeviceConstants() {
GPU_SINGLE_ALLOC_PERCENT = 75;
}
}
// Limit gpu single allocation percentage for gfx940
if ((isa().versionMajor() == 9) && (isa().versionMinor() == 4) &&
(isa().versionStepping() == 0) && (info_.hostUnifiedMemory_ == 1)) {
if (gpu_agents_.size() == 1 || p2p_agents_.size() == 0) {
if (flagIsDefault(GPU_SINGLE_ALLOC_PERCENT)) {
GPU_SINGLE_ALLOC_PERCENT = 60;
}
}
}
gpuvm_segment_max_alloc_ =
uint64_t(info_.globalMemSize_ * std::min(GPU_SINGLE_ALLOC_PERCENT, 100u) / 100u);