diff --git a/rocclr/device/rocm/rocdevice.cpp b/rocclr/device/rocm/rocdevice.cpp index acdd3349f9..c481d5e22b 100644 --- a/rocclr/device/rocm/rocdevice.cpp +++ b/rocclr/device/rocm/rocdevice.cpp @@ -2227,9 +2227,6 @@ bool Device::SetSvmAttributesInt(const void* dev_ptr, size_t count, } if (info().hmmSupported_) { std::vector 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: