From 3d3356a2edff891f9cef7bf53f5d6af8220ef65d 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/clr commit: 4488f9f7a786faac7b20e7e8f9f77bb48daa3d03] --- projects/clr/hipamd/tests/src/deviceLib/hipMathFunctions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/clr/hipamd/tests/src/deviceLib/hipMathFunctions.cpp b/projects/clr/hipamd/tests/src/deviceLib/hipMathFunctions.cpp index 7fe0003672..78e85ba62a 100644 --- a/projects/clr/hipamd/tests/src/deviceLib/hipMathFunctions.cpp +++ b/projects/clr/hipamd/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;