Home
last modified time | relevance | path

Searched refs:ddiff (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/openmp/runtime/test/worksharing/for/
Domp_parallel_for_reduction.c19 double ddiff; in test_omp_parallel_for_reduction() local
90 ddiff = (1-dpt)/(1-dt); in test_omp_parallel_for_reduction()
91 #pragma omp parallel for schedule(dynamic,1) private(i) reduction(-:ddiff) in test_omp_parallel_for_reduction()
93 ddiff -= pow(dt,i); in test_omp_parallel_for_reduction()
95 if( fabs(ddiff) > rounding_error) { in test_omp_parallel_for_reduction()
98 " instead of 0.0\n",ddiff); in test_omp_parallel_for_reduction()
Domp_for_reduction.c19 double ddiff; in test_omp_for_reduction() local
130 ddiff = (1 - dpt) / (1 - dt); in test_omp_for_reduction()
134 #pragma omp for schedule(dynamic,1) reduction(-:ddiff) in test_omp_for_reduction()
136 ddiff -= pow (dt, j); in test_omp_for_reduction()
139 if (fabs (ddiff) > rounding_error) { in test_omp_for_reduction()
142 " instead of 0.0\n", ddiff); in test_omp_for_reduction()
/external/llvm-project/openmp/runtime/test/parallel/
Domp_parallel_reduction.c19 double ddiff; in test_omp_parallel_reduction() local
89 ddiff = (1-dpt)/(1-dt); in test_omp_parallel_reduction()
90 #pragma omp parallel for schedule(dynamic,1) private(i) reduction(-:ddiff) in test_omp_parallel_reduction()
92 ddiff -= pow(dt,i); in test_omp_parallel_reduction()
94 if( fabs(ddiff) > rounding_error) { in test_omp_parallel_reduction()
96 fprintf(stderr,"Error in Difference with doubles: Result was %E instead of 0.0\n",ddiff); in test_omp_parallel_reduction()
/external/llvm-project/openmp/runtime/test/worksharing/sections/
Domp_parallel_sections_reduction.c16 double ddiff; in test_omp_parallel_sections_reduction() local
138 ddiff = (1-dpt)/(1-dt); in test_omp_parallel_sections_reduction()
139 #pragma omp parallel sections private(i) reduction(-:ddiff) in test_omp_parallel_sections_reduction()
144 ddiff -= pow(dt,i); in test_omp_parallel_sections_reduction()
150 ddiff -= pow(dt,i); in test_omp_parallel_sections_reduction()
156 ddiff -= pow(dt,i); in test_omp_parallel_sections_reduction()
160 if( fabs(ddiff) > rounding_error) { in test_omp_parallel_sections_reduction()
163 " instead of 0.0\n",ddiff); in test_omp_parallel_sections_reduction()
Domp_sections_reduction.c15 double ddiff; in test_omp_sections_reduction() local
142 ddiff = (1-dpt)/(1-dt); in test_omp_sections_reduction()
145 #pragma omp sections private(i) reduction(-:ddiff) in test_omp_sections_reduction()
150 ddiff -= pow(dt,i); in test_omp_sections_reduction()
156 ddiff -= pow(dt,i); in test_omp_sections_reduction()
162 ddiff -= pow(dt,i); in test_omp_sections_reduction()
168 if(fabs(ddiff) > rounding_error) { in test_omp_sections_reduction()
171 " instead of 0.0\n",ddiff); in test_omp_sections_reduction()
/external/llvm-project/openmp/runtime/test/atomic/
Domp_atomic.c16 double ddiff; in test_omp_atomic() local
107 ddiff = (1 - dpt) / (1 - dt); in test_omp_atomic()
114 ddiff -= pow (dt, i); in test_omp_atomic()
117 if (fabs (ddiff) > rounding_error) { in test_omp_atomic()
120 ddiff); in test_omp_atomic()