From dfbad5fa07bb60c749c8ab775d0e05ae5a07e77c Mon Sep 17 00:00:00 2001 From: Jay Cornwall Date: Fri, 2 Jun 2017 15:14:14 -0500 Subject: [PATCH] Enable SDMA on gfx9, disable on gfx8 gfx9 has passed qualification. gfx8 stability is under investigation. Change-Id: Ia72211d47756399ecdfceafeb67c2ab34ebda834 [ROCm/ROCR-Runtime commit: 5db53ceda1a29a39cac27e67a5643d7471fbabc7] --- .../runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp index 08ea936a50..1fa48a94da 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp +++ b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp @@ -566,7 +566,7 @@ void GpuAgent::InitDma() { if (!blit_initialized_.load(std::memory_order_relaxed)) { // Try create SDMA blit first. // TODO: Temporarily disable SDMA on specific ISA targets until they are fully qualified. - if ((isa_->GetMajorVersion() != 9) && + if ((isa_->GetMajorVersion() != 8) && core::Runtime::runtime_singleton_->flag().enable_sdma() && (HSA_PROFILE_BASE == profile_)) { blits_[BlitHostToDev] = CreateBlitSdma();