openmp/runtime/test/ompt/worksharing/for/auto_serialized.c
raw| 1 | // clang-format off |
| 2 | // RUN: %libomp-compile-and-run | %sort-threads | FileCheck %S/base_serialized.h |
| 3 | // REQUIRES: ompt |
| 4 | // GCC doesn't call runtime for auto = static schedule |
| 5 | // XFAIL: gcc |
| 6 | // clang-format on |
| 7 | |
| 8 | #define SCHEDULE auto |
| 9 | // The runtime uses static schedule for serialized loop, |
| 10 | // which is a reason choice |
| 11 | #define SCHED_OUTPUT "static" |
| 12 | #include "base_serialized.h" |