SWDEV-291001 - Disable sincos() for NV

Disable sincos() for NV temporarily in order
to prevent kernel launch failure for NVA100.

Change-Id: Ic9ec976c5c486c4e1d3b83e1578081673f97efa3


[ROCm/hip commit: fd50af8c77]
This commit is contained in:
Tao Sang
2021-06-15 09:09:45 -04:00
committed by Tao Sang
parent 4bc1bcf397
commit 3a7e5a87ca
@@ -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);