From fd50af8c778fd01da93aa2db63fb827508fbd4af Mon Sep 17 00:00:00 2001 From: Tao Sang Date: Tue, 15 Jun 2021 09:09:45 -0400 Subject: [PATCH] SWDEV-291001 - Disable sincos() for NV Disable sincos() for NV temporarily in order to prevent kernel launch failure for NVA100. Change-Id: Ic9ec976c5c486c4e1d3b83e1578081673f97efa3 --- tests/src/deviceLib/hipDoublePrecisionMathDevice.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/src/deviceLib/hipDoublePrecisionMathDevice.cpp b/tests/src/deviceLib/hipDoublePrecisionMathDevice.cpp index 43691882a9..857b165577 100644 --- a/tests/src/deviceLib/hipDoublePrecisionMathDevice.cpp +++ b/tests/src/deviceLib/hipDoublePrecisionMathDevice.cpp @@ -114,7 +114,10 @@ __device__ void double_precision_math_functions() { scalbn(0.0, 1); signbit(1.0); sin(0.0); +#if not(defined(__HIP_PLATFORM_NVIDIA__) && (CUDA_VERSION == 11030 || CUDA_VERSION == 11020)) + //NV A100 has a bug in sincos(), so temporarily disbale it sincos(0.0, &fX, &fY); +#endif sincospi(0.0, &fX, &fY); sinh(0.0); sinpi(0.0);