SWDEV-303560 - Remove coarse grain setup by default
The original logic was left after initial testing when HMM couldn't handle xnack properly Change-Id: I0abf01805704171e931dfba8b6d95bfe87d5fab1
Ta zmiana jest zawarta w:
%! (template.HTML=
German Andryeyev)złożyło 2021-10-05 17:20:59 -04:00
1 rodzic
3081f7ca53
złożenie
d17108e8d0
Plik 1 zmieniony
-3
@@ -2227,9 +2227,6 @@ bool Device::SetSvmAttributesInt(const void* dev_ptr, size_t count,
|
||||
}
|
||||
if (info().hmmSupported_) {
|
||||
std::vector<hsa_amd_svm_attribute_pair_t> attr;
|
||||
if (first_alloc) {
|
||||
attr.push_back({HSA_AMD_SVM_ATTRIB_GLOBAL_FLAG, HSA_AMD_SVM_GLOBAL_FLAG_COARSE_GRAINED});
|
||||
}
|
||||
|
||||
switch (advice) {
|
||||
case amd::MemoryAdvice::SetReadMostly:
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika