[Openmp-commits] [openmp] 39a959e - [OpenMP][Tests][NFC] Mark unsupported OMPT tests for GCC
Joachim Jenke via Openmp-commits
openmp-commits at lists.llvm.org
Tue May 23 01:35:07 PDT 2023
Author: Joachim Jenke
Date: 2023-05-23T10:33:09+02:00
New Revision: 39a959eac793ee43008d6755206b6684fc11872d
URL: https://github.com/llvm/llvm-project/commit/39a959eac793ee43008d6755206b6684fc11872d
DIFF: https://github.com/llvm/llvm-project/commit/39a959eac793ee43008d6755206b6684fc11872d.diff
LOG: [OpenMP][Tests][NFC] Mark unsupported OMPT tests for GCC
Codegen for some OpenMP directives is different from clang, so some
OMPT tests fail. As we don't expect GCC codegen to change significantly,
we mark the tests as unsupported for GCC.
OMPT Tests pass now with GCC 10, 11, 12
Added:
Modified:
openmp/runtime/test/ompt/teams/distribute_dispatch.c
openmp/runtime/test/ompt/worksharing/sections_dispatch.c
Removed:
################################################################################
diff --git a/openmp/runtime/test/ompt/teams/distribute_dispatch.c b/openmp/runtime/test/ompt/teams/distribute_dispatch.c
index 9435ff1a9fea2..3254a287236fd 100644
--- a/openmp/runtime/test/ompt/teams/distribute_dispatch.c
+++ b/openmp/runtime/test/ompt/teams/distribute_dispatch.c
@@ -1,5 +1,9 @@
// RUN: %libomp-compile-and-run | %sort-threads | FileCheck %s
// REQUIRES: ompt
+
+/// GCC lowering of distribute results in calls to
+/// omp_get_num_teams/omp_get_team_num rather than region calls
+// UNSUPPORTED: gcc
#include "callback.h"
#define WORK_SIZE 64
diff --git a/openmp/runtime/test/ompt/worksharing/sections_dispatch.c b/openmp/runtime/test/ompt/worksharing/sections_dispatch.c
index 7922b58cdffaa..bcf0bd0cde673 100644
--- a/openmp/runtime/test/ompt/worksharing/sections_dispatch.c
+++ b/openmp/runtime/test/ompt/worksharing/sections_dispatch.c
@@ -2,6 +2,7 @@
// REQUIRES: ompt
// UNSUPPORTED: intel-15.0, intel-16.0, intel-17.0, intel-18.0
// GCC generates code that does not distinguish between sections and loops
+// UNSUPPORTED: gcc
#include "callback.h"
#include <omp.h>
More information about the Openmp-commits
mailing list