SWDEV-516564 - SWDEV-512817 - Remove mentions of gfx940 and gfx941
Change-Id: Ia069fcb9c6948c3fc9a00961593c9dcc59609375
[ROCm/clr commit: c2d1776ebd]
This commit is contained in:
committed by
Branislav Brzak
parent
c8f39ec2b0
commit
c81185cf26
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user