From 9a591d6c2695d18b1e51af9627b2a7031408bb49 Mon Sep 17 00:00:00 2001 From: Aaron Enye Shi Date: Fri, 11 May 2018 10:53:07 -0400 Subject: [PATCH] Fix hipMathFunction for gfx906 [ROCm/hip commit: 848a24b5246f662f5b488fe428c8b414ec708dda] --- projects/hip/tests/src/deviceLib/hipMathFunctions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/hip/tests/src/deviceLib/hipMathFunctions.cpp b/projects/hip/tests/src/deviceLib/hipMathFunctions.cpp index 7fe0003672..78e85ba62a 100644 --- a/projects/hip/tests/src/deviceLib/hipMathFunctions.cpp +++ b/projects/hip/tests/src/deviceLib/hipMathFunctions.cpp @@ -29,7 +29,7 @@ THE SOFTWARE. #include "hip/hip_runtime.h" #include "test_common.h" -#if __HIP_ARCH_GFX803__ || __HIP_ARCH_GFX900__ +#if __HIP_ARCH_GFX803__ || __HIP_ARCH_GFX900__ || __HIP_ARCH_GFX906__ __global__ void kernel_abs_int64(hipLaunchParm lp, long long *input, long long *output) { int tx = threadIdx.x;