Jonathan Peyton | 614c7ef | 2015-09-21 20:41:31 +0000 | [diff] [blame] | 1 | /* Global headerfile of the OpenMP Testsuite */ |
| 2 | |
| 3 | #ifndef OMP_TESTSUITE_H |
| 4 | #define OMP_TESTSUITE_H |
| 5 | |
| 6 | #include <stdio.h> |
| 7 | #include <omp.h> |
| 8 | |
| 9 | /* General */ |
| 10 | /**********************************************************/ |
| 11 | #define LOOPCOUNT 1000 /* Number of iterations to slit amongst threads */ |
| 12 | #define REPETITIONS 10 /* Number of times to run each test */ |
| 13 | |
| 14 | /* following times are in seconds */ |
Alexey Bataev | b0eae8d | 2015-11-02 13:43:32 +0000 | [diff] [blame] | 15 | #define SLEEPTIME 1 |
Jonathan Peyton | 614c7ef | 2015-09-21 20:41:31 +0000 | [diff] [blame] | 16 | |
| 17 | /* Definitions for tasks */ |
| 18 | /**********************************************************/ |
| 19 | #define NUM_TASKS 25 |
| 20 | #define MAX_TASKS_PER_THREAD 5 |
| 21 | |
| 22 | #endif |