Searched refs:dsum (Results 1 – 6 of 6) sorted by relevance
/external/llvm-project/openmp/runtime/test/worksharing/for/ |
D | omp_parallel_for_reduction.c | 14 double dsum; in test_omp_parallel_for_reduction() local 33 dsum=0; in test_omp_parallel_for_reduction() 67 dsum=0; in test_omp_parallel_for_reduction() 73 #pragma omp parallel for schedule(dynamic,1) private(i) reduction(+:dsum) in test_omp_parallel_for_reduction() 75 dsum += pow(dt,i); in test_omp_parallel_for_reduction() 77 if( fabs(dsum-dknown_sum) > rounding_error ) { in test_omp_parallel_for_reduction() 81 dsum, dknown_sum, dsum-dknown_sum); in test_omp_parallel_for_reduction()
|
D | omp_for_reduction.c | 17 double dsum; in test_omp_for_reduction() local 41 dsum = 0.; in test_omp_for_reduction() 108 dsum = 0.; in test_omp_for_reduction() 117 #pragma omp for schedule(dynamic,1) reduction(+:dsum) in test_omp_for_reduction() 119 dsum += pow (dt, j); in test_omp_for_reduction() 122 if (fabs (dsum - dknown_sum) > rounding_error) { in test_omp_for_reduction() 126 dsum, dknown_sum, dsum-dknown_sum); in test_omp_for_reduction()
|
/external/llvm-project/openmp/runtime/test/parallel/ |
D | omp_parallel_reduction.c | 14 double dsum; in test_omp_parallel_reduction() local 33 dsum=0; in test_omp_parallel_reduction() 67 dsum=0; in test_omp_parallel_reduction() 73 #pragma omp parallel for schedule(dynamic,1) private(i) reduction(+:dsum) in test_omp_parallel_reduction() 75 dsum += pow(dt,i); in test_omp_parallel_reduction() 78 if( fabs(dsum-dknown_sum) > rounding_error ) { in test_omp_parallel_reduction() 80 …sum with doubles: Result was %f instead of %f (Difference: %E)\n",dsum,dknown_sum, dsum-dknown_sum… in test_omp_parallel_reduction()
|
/external/llvm-project/openmp/runtime/test/atomic/ |
D | omp_atomic.c | 14 double dsum = 0; in test_omp_atomic() local 80 dsum = 0; in test_omp_atomic() 92 dsum += pow (dt, i); in test_omp_atomic() 95 if (dsum != dknown_sum && (fabs (dsum - dknown_sum) > rounding_error)) { in test_omp_atomic() 98 dsum, dknown_sum, dsum - dknown_sum); in test_omp_atomic()
|
/external/llvm-project/openmp/runtime/test/worksharing/sections/ |
D | omp_parallel_sections_reduction.c | 11 double dsum; in test_omp_parallel_sections_reduction() local 29 dsum=0; in test_omp_parallel_sections_reduction() 104 #pragma omp parallel sections private(i) reduction(+:dsum) in test_omp_parallel_sections_reduction() 109 dsum += pow(dt,i); in test_omp_parallel_sections_reduction() 115 dsum += pow(dt,i); in test_omp_parallel_sections_reduction() 121 dsum += pow(dt,i); in test_omp_parallel_sections_reduction() 125 if( fabs(dsum-dknown_sum) > rounding_error ) { in test_omp_parallel_sections_reduction() 129 dsum, dknown_sum, dsum-dknown_sum); in test_omp_parallel_sections_reduction()
|
D | omp_sections_reduction.c | 10 double dpt,dsum; in test_omp_sections_reduction() local 30 dsum=0; in test_omp_sections_reduction() 108 #pragma omp sections private(i) reduction(+:dsum) in test_omp_sections_reduction() 113 dsum += pow(dt,i); in test_omp_sections_reduction() 119 dsum += pow(dt,i); in test_omp_sections_reduction() 125 dsum += pow(dt,i); in test_omp_sections_reduction() 130 if( fabs(dsum-dknown_sum) > rounding_error ) { in test_omp_sections_reduction() 134 dsum, dknown_sum, dsum-dknown_sum); in test_omp_sections_reduction()
|