SWDEV-516564 - SWDEV-512817 - Remove mentions of gfx940 and gfx941
Change-Id: Ia069fcb9c6948c3fc9a00961593c9dcc59609375
Tá an tiomantas seo le fáil i:
tiomanta ag
Branislav Brzak
tuismitheoir
e03e4f3b5d
tiomantas
c2d1776ebd
@@ -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);
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir