1 | // RUN: %libomp-compile-and-run |
---|---|
2 | |
3 | #include <omp.h> |
4 | |
5 | int main() |
6 | { |
7 | #pragma omp parallel num_threads(1) |
8 | { |
9 | omp_control_tool(omp_control_tool_flush, 1, NULL); |
10 | } |
11 | |
12 | return 0; |
13 | } |
14 |
1 | // RUN: %libomp-compile-and-run |
---|---|
2 | |
3 | #include <omp.h> |
4 | |
5 | int main() |
6 | { |
7 | #pragma omp parallel num_threads(1) |
8 | { |
9 | omp_control_tool(omp_control_tool_flush, 1, NULL); |
10 | } |
11 | |
12 | return 0; |
13 | } |
14 |