From 5c6046593274fcbb08eeb9dba1eba22e54eb8db6 Mon Sep 17 00:00:00 2001 From: Satyanvesh Dittakavi Date: Tue, 12 Jan 2021 00:54:02 -0500 Subject: [PATCH] device property __HIP_ARCH_HAS_SHARED_INT64_ATOMICS__ set to 1 as it has compiler support Change-Id: Ic91c4955d4f2d52d844471f81e6f0d19418018f5 [ROCm/hip commit: aaa15a7455129b46c16f6d2684b18218539536f0] --- projects/hip/include/hip/amd_detail/hip_runtime.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/hip/include/hip/amd_detail/hip_runtime.h b/projects/hip/include/hip/amd_detail/hip_runtime.h index 7dfdde092a..35318cb262 100644 --- a/projects/hip/include/hip/amd_detail/hip_runtime.h +++ b/projects/hip/include/hip/amd_detail/hip_runtime.h @@ -89,7 +89,7 @@ extern int HIP_TRACE_API; // 64-bit Atomics: #define __HIP_ARCH_HAS_GLOBAL_INT64_ATOMICS__ (1) -#define __HIP_ARCH_HAS_SHARED_INT64_ATOMICS__ (0) +#define __HIP_ARCH_HAS_SHARED_INT64_ATOMICS__ (1) // Doubles #define __HIP_ARCH_HAS_DOUBLES__ (1)