Skip to content
Snippets Groups Projects
Commit 3e804ac4 authored by ESCOBAR MUNOZ Juan's avatar ESCOBAR MUNOZ Juan
Browse files

Juan 04/11/2022:br_transcendentals.cpp, BUG for CCE > 14.X && nvidia70 target,...

Juan 04/11/2022:br_transcendentals.cpp, BUG for CCE > 14.X && nvidia70 target, missing const in "#pragma omp declare target"
parent 7fa37be5
No related branches found
No related tags found
No related merge requests found
...@@ -20,9 +20,12 @@ namespace bitrep ...@@ -20,9 +20,12 @@ namespace bitrep
/************* /*************
* CONSTANTS * * CONSTANTS *
*************/ *************/
static const double const_2_over_pi = 6.3661977236758138e-1;
#ifdef MNH_BITREP_OMP
#pragma omp declare target
#endif
static const double const_2_over_pi = 6.3661977236758138e-1;
static const double __sin_cos_coefficient[16] = static const double __sin_cos_coefficient[16] =
{ {
1.590307857061102704e-10, /* sin0 */ 1.590307857061102704e-10, /* sin0 */
...@@ -43,7 +46,9 @@ static const double __sin_cos_coefficient[16] = ...@@ -43,7 +46,9 @@ static const double __sin_cos_coefficient[16] =
-5.000000000000000000e-01, /* cos6 */ -5.000000000000000000e-01, /* cos6 */
1.000000000000000000e+00, /* cos7 */ 1.000000000000000000e+00, /* cos7 */
}; };
#ifdef MNH_BITREP_OMP
#pragma omp end declare target
#endif
/***************************************** /*****************************************
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment