From 9af0f9cbc1733829bc509ad04d55fb9806396ebc Mon Sep 17 00:00:00 2001 From: Rahul Garg Date: Thu, 16 Nov 2017 09:34:52 +0530 Subject: [PATCH] Fixed test case for GFX900 --- tests/src/deviceLib/hipTestHalf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/deviceLib/hipTestHalf.cpp b/tests/src/deviceLib/hipTestHalf.cpp index 873dd23805..f56538f080 100644 --- a/tests/src/deviceLib/hipTestHalf.cpp +++ b/tests/src/deviceLib/hipTestHalf.cpp @@ -26,7 +26,7 @@ THE SOFTWARE. #define HALF_SIZE 64*sizeof(__half) #define HALF2_SIZE 64*sizeof(__half2) -#if __HIP_ARCH_GFX803__ || __HIP_ARCH_GFX803__ +#if __HIP_ARCH_GFX803__ || __HIP_ARCH_GFX900__ __global__ void __halfMath(hipLaunchParm lp, __half *A, __half *B, __half *C) { int tx = hipThreadIdx_x;