diff --git a/projects/clr/hipamd/tests/src/hipDoublePrecisionMathDevice.cpp b/projects/clr/hipamd/tests/src/hipDoublePrecisionMathDevice.cpp index 4f36b91eb7..7e1d862392 100644 --- a/projects/clr/hipamd/tests/src/hipDoublePrecisionMathDevice.cpp +++ b/projects/clr/hipamd/tests/src/hipDoublePrecisionMathDevice.cpp @@ -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); diff --git a/projects/clr/hipamd/tests/src/hipDoublePrecisionMathHost.cpp b/projects/clr/hipamd/tests/src/hipDoublePrecisionMathHost.cpp index 9e4c43e2be..d45423a879 100644 --- a/projects/clr/hipamd/tests/src/hipDoublePrecisionMathHost.cpp +++ b/projects/clr/hipamd/tests/src/hipDoublePrecisionMathHost.cpp @@ -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); diff --git a/projects/clr/hipamd/tests/src/hipSinglePrecisionMathDevice.cpp b/projects/clr/hipamd/tests/src/hipSinglePrecisionMathDevice.cpp index 8413c37b77..acb74d3f2d 100644 --- a/projects/clr/hipamd/tests/src/hipSinglePrecisionMathDevice.cpp +++ b/projects/clr/hipamd/tests/src/hipSinglePrecisionMathDevice.cpp @@ -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); diff --git a/projects/clr/hipamd/tests/src/hipSinglePrecisionMathHost.cpp b/projects/clr/hipamd/tests/src/hipSinglePrecisionMathHost.cpp index 6dd1c07f1b..c12b553e0f 100644 --- a/projects/clr/hipamd/tests/src/hipSinglePrecisionMathHost.cpp +++ b/projects/clr/hipamd/tests/src/hipSinglePrecisionMathHost.cpp @@ -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);