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
This commit is contained in:
@@ -2227,9 +2227,6 @@ bool Device::SetSvmAttributesInt(const void* dev_ptr, size_t count,
|
|||||||
}
|
}
|
||||||
if (info().hmmSupported_) {
|
if (info().hmmSupported_) {
|
||||||
std::vector<hsa_amd_svm_attribute_pair_t> attr;
|
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) {
|
switch (advice) {
|
||||||
case amd::MemoryAdvice::SetReadMostly:
|
case amd::MemoryAdvice::SetReadMostly:
|
||||||
|
|||||||
Reference in New Issue
Block a user