From 848a24b5246f662f5b488fe428c8b414ec708dda 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 --- tests/src/deviceLib/hipMathFunctions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/deviceLib/hipMathFunctions.cpp b/tests/src/deviceLib/hipMathFunctions.cpp index 7fe0003672..78e85ba62a 100644 --- a/tests/src/deviceLib/hipMathFunctions.cpp +++ b/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;