From 67598cc036ccc110f53ac9fa0b86f61f0ef9fb0d Mon Sep 17 00:00:00 2001 From: Chris Freehill Date: Wed, 31 Jan 2018 16:25:38 -0600 Subject: [PATCH] Don't support platform atomics for gfx9XX Change-Id: I302c862494e221ae2b6b3e1a843f06586b0b28ba [ROCm/ROCR-Runtime commit: 3449f7dea6ab414f965d10812a82bce0da423740] --- .../runtime/hsa-runtime/core/runtime/amd_blit_sdma.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_blit_sdma.cpp b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_blit_sdma.cpp index 7daf92ba89..2ea06a1a15 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_blit_sdma.cpp +++ b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_blit_sdma.cpp @@ -423,7 +423,8 @@ hsa_status_t BlitSdma::Initial return HSA_STATUS_ERROR; } - if (amd_gpu_agent.isa()->version() == core::Isa::Version(7, 0, 1)) { + if (amd_gpu_agent.isa()->version() == core::Isa::Version(7, 0, 1) || + amd_gpu_agent.isa()->GetMajorVersion() == 9) { platform_atomic_support_ = false; }