|
LLVM OpenMP 22.0.0git
|
Go to the source code of this file.
Macros | |
| #define | DOUBLE_DIGITS 20 /* dt^DOUBLE_DIGITS */ |
| #define | MAX_FACTOR 10 |
| #define | KNOWN_PRODUCT 3628800 /* 10! */ |
Functions | |
| int | test_omp_for_reduction () |
| int | main () |
| #define DOUBLE_DIGITS 20 /* dt^DOUBLE_DIGITS */ |
Definition at line 7 of file omp_for_reduction.c.
| #define KNOWN_PRODUCT 3628800 /* 10! */ |
Definition at line 9 of file omp_for_reduction.c.
| #define MAX_FACTOR 10 |
Definition at line 8 of file omp_for_reduction.c.
Definition at line 328 of file omp_for_reduction.c.
References i, REPETITIONS, and test_omp_for_reduction().
| int test_omp_for_reduction | ( | ) |
Tests for integers
Tests for doubles
Tests for logical values
Tests for bit values
Definition at line 11 of file omp_for_reduction.c.
References DOUBLE_DIGITS, i, j, KNOWN_PRODUCT, LOOPCOUNT, MAX_FACTOR, result, and sum.
Referenced by main().