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

Change-Id: Ia069fcb9c6948c3fc9a00961593c9dcc59609375
此提交包含在:
Branislav Brzak authored and Branislav Brzak committed 2025-03-05 04:26:07 -05:00
1 父節點 e03e4f3b5d
當前提交 c2d1776ebd
10 file changed
+10 -469

No files matched your search

-9
查看文件
@@ -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);