From d77524224636793618ffd8cdbf8fc3c8b7bf9bd0 Mon Sep 17 00:00:00 2001 From: hthangir Date: Fri, 17 Mar 2017 00:20:53 -0500 Subject: [PATCH] Disable SDMA only on gfx900 until it is validated. Change-Id: Ib960be3ca6d3fc4b664ba047243964b8c7a33f24 [ROCm/ROCR-Runtime commit: 7c6cde187165d7035618304d093192ca7e0a7e3a] --- .../runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp | 4 +++- 1 file changed, 3 insertions(+), 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 ea660a3048..775b32ff33 100755 --- 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 @@ -549,7 +549,9 @@ void GpuAgent::InitDma() { ScopedAcquire lock(&blit_lock_); if (!blit_initialized_.load(std::memory_order_relaxed)) { // Try create SDMA blit first. - if (core::Runtime::runtime_singleton_->flag().enable_sdma() && + // TODO: Temporarily disable SDMA on specific ISA targets until they are fully qualified. + if ((isa_->GetMajorVersion() != 9) && + core::Runtime::runtime_singleton_->flag().enable_sdma() && (HSA_PROFILE_BASE == profile_)) { blits_[BlitHostToDev] = CreateBlitSdma(); blits_[BlitDevToHost] = CreateBlitSdma();