Skip to content

Commit 0fa0cf8

Browse files
committed
[OpenMP][Tests] Update compatibility with GCC (NFC)
Commit 95a28df provided implementation for GOMP*_nonmonotonic*runtime* functions. Now the tests succeed with gcc 9 and 10
1 parent 91f7067 commit 0fa0cf8

File tree

6 files changed

+0
-19
lines changed

6 files changed

+0
-19
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
// RUN: %libomp-compile-and-run | %sort-threads | FileCheck %S/base.h
22
// REQUIRES: ompt
3-
// gcc 9/10 use GOMP_parallel_loop_maybe_nonmonotonic_runtime, not implemented
4-
// XFAIL: gcc-9, gcc-10
53

64
#define SCHEDULE runtime
75
#include "base.h"
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
// RUN: %libomp-compile-and-run | %sort-threads | FileCheck %S/base_serialized.h
22
// REQUIRES: ompt
3-
// gcc 9/10 use GOMP_parallel_loop_maybe_nonmonotonic_runtime, not implemented
4-
// XFAIL: gcc-9, gcc-10
53

64
#define SCHEDULE runtime
75
#include "base_serialized.h"

openmp/runtime/test/ompt/worksharing/for/runtime_split.c

-3
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,5 @@
33
// REQUIRES: ompt
44
// UNSUPPORTED: gcc-4, gcc-5, gcc-6, gcc-7
55

6-
// gcc 9/10 use GOMP_parallel_loop_maybe_nonmonotonic_runtime, not implemented
7-
// XFAIL: gcc-9, gcc-10
8-
96
#define SCHEDULE runtime
107
#include "base_split.h"

openmp/runtime/test/worksharing/for/bug_set_schedule_0.c

-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
// RUN: %libomp-compile-and-run
22

3-
// gcc 9/10 use GOMP_parallel_loop_maybe_nonmonotonic_runtime, not implemented
4-
// Should be removed once the functions are implemented
5-
// XFAIL: gcc-9, gcc-10
6-
73
#include <stdio.h>
84
#include <omp.h>
95
#include "omp_testsuite.h"

openmp/runtime/test/worksharing/for/omp_for_schedule_runtime.c

-4
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@
1111
// RUN: env OMP_SCHEDULE=static_steal %libomp-run 102 1
1212
// RUN: env OMP_SCHEDULE=static_steal,14 %libomp-run 102 14
1313

14-
// gcc 9/10 use GOMP_parallel_loop_maybe_nonmonotonic_runtime, not implemented
15-
// Should be removed once the functions are implemented
16-
// XFAIL: gcc-9, gcc-10
17-
1814
#include <stdio.h>
1915
#include <stdlib.h>
2016
#include <math.h>

openmp/runtime/test/worksharing/for/omp_nonmonotonic_dynamic1.c

-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
// RUN: %libomp-compile
22
// RUN: env OMP_SCHEDULE=nonmonotonic:dynamic,10 %libomp-run
33

4-
// gcc 9/10 use GOMP_parallel_loop_maybe_nonmonotonic_runtime, not implemented
5-
// Should be removed once the functions are implemented
6-
// XFAIL: gcc-9, gcc-10
7-
84
// The test checks iterations distribution for OMP 5.0 nonmonotonic OMP_SCHEDULE
95
// case #threads > #chunks (fallback to monotonic dynamic)
106

0 commit comments

Comments
 (0)