aboutsummaryrefslogtreecommitdiff
path: root/final/runtime/test/ompt/worksharing/for/auto_split.c
diff options
context:
space:
mode:
Diffstat (limited to 'final/runtime/test/ompt/worksharing/for/auto_split.c')
-rw-r--r--final/runtime/test/ompt/worksharing/for/auto_split.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/final/runtime/test/ompt/worksharing/for/auto_split.c b/final/runtime/test/ompt/worksharing/for/auto_split.c
new file mode 100644
index 0000000..d82e3fd
--- /dev/null
+++ b/final/runtime/test/ompt/worksharing/for/auto_split.c
@@ -0,0 +1,8 @@
+// RUN: %libomp-compile-and-run | %sort-threads | FileCheck %S/base_split.h
+// RUN: %libomp-compile-and-run | %sort-threads | FileCheck --check-prefix=CHECK-LOOP %S/base_split.h
+// REQUIRES: ompt
+// GCC doesn't call runtime for auto = static schedule
+// XFAIL: gcc
+
+#define SCHEDULE auto
+#include "base_split.h"