Disable SDMA on gfx10.

Lack of cache controls only allow operating SDMA at
agent scope.  All copy APIs are defined at system scope so may
result in data errors.

Change-Id: I9cd10007defddcbf8feb14a2e3daa1ba17c0489f


[ROCm/ROCR-Runtime commit: 22a601292d]
Cette révision appartient à :
Sean Keely
2019-12-20 17:25:47 -06:00
Parent 44fb1be462
révision 47c4c7bacf
+1 -1
Voir le fichier
@@ -533,7 +533,7 @@ void GpuAgent::InitDma() {
auto blit_lambda = [this](bool use_xgmi, lazy_ptr<core::Queue>& queue) {
const std::string& sdma_override = core::Runtime::runtime_singleton_->flag().enable_sdma();
bool use_sdma = (isa_->GetMajorVersion() != 8);
bool use_sdma = ((isa_->GetMajorVersion() != 8) && (isa_->GetMajorVersion() != 10));
if (sdma_override.size() != 0) use_sdma = (sdma_override == "1");
if (use_sdma && (HSA_PROFILE_BASE == profile_)) {