Enable cospi,rsqrt,sinpi tests for HCC newer than 16073
[ROCm/clr commit: e2d97e19bc]
Bu işleme şunda yer alıyor:
@@ -42,7 +42,9 @@ __device__ void double_precision_math_functions()
|
||||
copysign(1.0, -2.0);
|
||||
cos(0.0);
|
||||
cosh(0.0);
|
||||
//cospi(0.0);
|
||||
#if __hcc_workweek__ >= 16073
|
||||
cospi(0.0);
|
||||
#endif
|
||||
//cyl_bessel_i0(0.0);
|
||||
//cyl_bessel_i1(0.0);
|
||||
erf(0.0);
|
||||
@@ -100,7 +102,9 @@ __device__ void double_precision_math_functions()
|
||||
//rnorm3d(0.0, 0.0, 1.0);
|
||||
//rnorm4d(0.0, 0.0, 0.0, 1.0);
|
||||
round(0.0);
|
||||
//rsqrt(1.0);
|
||||
#if __hcc_workweek__ >= 16073
|
||||
rsqrt(1.0);
|
||||
#endif
|
||||
//scalbln(0.0, 1);
|
||||
scalbn(0.0, 1);
|
||||
signbit(1.0);
|
||||
@@ -108,7 +112,9 @@ __device__ void double_precision_math_functions()
|
||||
//sincos(0.0, &fX, &fY);
|
||||
//sincospi(0.0, &fX, &fY);
|
||||
sinh(0.0);
|
||||
//sinpi(0.0);
|
||||
#if __hcc_workweek__ >= 16073
|
||||
sinpi(0.0);
|
||||
#endif
|
||||
sqrt(0.0);
|
||||
tan(0.0);
|
||||
tanh(0.0);
|
||||
|
||||
@@ -42,7 +42,9 @@ __host__ void double_precision_math_functions()
|
||||
copysign(1.0, -2.0);
|
||||
cos(0.0);
|
||||
cosh(0.0);
|
||||
//cospi(0.0);
|
||||
#if __hcc_workweek__ >= 16073
|
||||
cospi(0.0);
|
||||
#endif
|
||||
//cyl_bessel_i0(0.0);
|
||||
//cyl_bessel_i1(0.0);
|
||||
erf(0.0);
|
||||
@@ -100,7 +102,9 @@ __host__ void double_precision_math_functions()
|
||||
//rnorm3d(0.0, 0.0, 1.0);
|
||||
//rnorm4d(0.0, 0.0, 0.0, 1.0);
|
||||
round(0.0);
|
||||
//rsqrt(1.0);
|
||||
#if __hcc_workweek__ >= 16073
|
||||
rsqrt(1.0);
|
||||
#endif
|
||||
///scalbln(0.0, 1);
|
||||
scalbn(0.0, 1);
|
||||
signbit(1.0);
|
||||
@@ -108,7 +112,9 @@ __host__ void double_precision_math_functions()
|
||||
sincos(0.0, &fX, &fY);
|
||||
//sincospi(0.0, &fX, &fY);
|
||||
sinh(0.0);
|
||||
//sinpi(0.0);
|
||||
#if __hcc_workweek__ >= 16073
|
||||
sinpi(0.0);
|
||||
#endif
|
||||
sqrt(0.0);
|
||||
tan(0.0);
|
||||
tanh(0.0);
|
||||
|
||||
@@ -42,7 +42,9 @@ __device__ void single_precision_math_functions()
|
||||
copysignf(1.0f, -2.0f);
|
||||
cosf(0.0f);
|
||||
coshf(0.0f);
|
||||
//cospif(0.0f);
|
||||
#if __hcc_workweek__ >= 16073
|
||||
cospif(0.0f);
|
||||
#endif
|
||||
//cyl_bessel_i0f(0.0f);
|
||||
//cyl_bessel_i1f(0.0f);
|
||||
erfcf(0.0f);
|
||||
@@ -101,7 +103,9 @@ __device__ void single_precision_math_functions()
|
||||
//rnorm4df(0.0f, 0.0f, 0.0f, 1.0f);
|
||||
//fX = 1.0f; rnormf(1, &fX);
|
||||
roundf(0.0f);
|
||||
//rsqrtf(1.0f);
|
||||
#if __hcc_workweek__ >= 16073
|
||||
rsqrtf(1.0f);
|
||||
#endif
|
||||
//scalblnf(0.0f, 1);
|
||||
scalbnf(0.0f, 1);
|
||||
signbit(1.0f);
|
||||
@@ -109,7 +113,9 @@ __device__ void single_precision_math_functions()
|
||||
//sincospif(0.0f, &fX, &fY);
|
||||
sinf(0.0f);
|
||||
sinhf(0.0f);
|
||||
//sinpif(0.0f);
|
||||
#if __hcc_workweek__ >= 16073
|
||||
sinpif(0.0f);
|
||||
#endif
|
||||
sqrtf(0.0f);
|
||||
tanf(0.0f);
|
||||
tanhf(0.0f);
|
||||
|
||||
@@ -42,7 +42,9 @@ __host__ void single_precision_math_functions()
|
||||
copysignf(1.0f, -2.0f);
|
||||
cosf(0.0f);
|
||||
coshf(0.0f);
|
||||
//cospif(0.0f);
|
||||
#if __hcc_workweek__ >= 16073
|
||||
cospif(0.0f);
|
||||
#endif
|
||||
//cyl_bessel_i0f(0.0f);
|
||||
//cyl_bessel_i1f(0.0f);
|
||||
erfcf(0.0f);
|
||||
@@ -101,7 +103,9 @@ __host__ void single_precision_math_functions()
|
||||
//rnorm4df(0.0f, 0.0f, 0.0f, 1.0f);
|
||||
//fX = 1.0f; rnormf(1, &fX);
|
||||
roundf(0.0f);
|
||||
//rsqrtf(1.0f);
|
||||
#if __hcc_workweek__ >= 16073
|
||||
rsqrtf(1.0f);
|
||||
#endif
|
||||
///scalblnf(0.0f, 1);
|
||||
scalbnf(0.0f, 1);
|
||||
signbit(1.0f);
|
||||
@@ -109,7 +113,9 @@ __host__ void single_precision_math_functions()
|
||||
//sincospif(0.0f, &fX, &fY);
|
||||
sinf(0.0f);
|
||||
sinhf(0.0f);
|
||||
//sinpif(0.0f);
|
||||
#if __hcc_workweek__ >= 16073
|
||||
sinpif(0.0f);
|
||||
#endif
|
||||
sqrtf(0.0f);
|
||||
tanf(0.0f);
|
||||
tanhf(0.0f);
|
||||
|
||||
Yeni konuda referans
Bir kullanıcı engelle