xref: /llvm-project/openmp/runtime/test/ompt/worksharing/for/auto_split.c (revision a707d0883b5ab9de6a0a864df614ef14909a4de1)
1 // RUN: %libomp-compile-and-run | %sort-threads | FileCheck %S/base_split.h
2 // RUN: %libomp-compile-and-run | %sort-threads | FileCheck --check-prefix=CHECK-LOOP %S/base_split.h
3 // REQUIRES: ompt
4 // GCC doesn't call runtime for auto = static schedule
5 // XFAIL: gcc
6 
7 #define SCHEDULE auto
8 // The runtime uses guided schedule for auto,
9 // which is a reason choice
10 #define SCHED_OUTPUT "guided"
11 #include "base_split.h"
12