[Openmp-commits] [openmp] 5918688 - [OpenMP][Tests][NFC] Flagging OMPT tests as XFAIL for Intel compilers

Joachim Protze via Openmp-commits openmp-commits at lists.llvm.org
Mon Oct 18 04:54:54 PDT 2021


Author: Joachim Protze
Date: 2021-10-18T13:50:03+02:00
New Revision: 5918688248fa103c46da3a6ff86e7fab0e63fb45

URL: https://github.com/llvm/llvm-project/commit/5918688248fa103c46da3a6ff86e7fab0e63fb45
DIFF: https://github.com/llvm/llvm-project/commit/5918688248fa103c46da3a6ff86e7fab0e63fb45.diff

LOG: [OpenMP][Tests][NFC] Flagging OMPT tests as XFAIL for Intel compilers

With Intel 19 compiler the teams tests fail to link while trying to link
liboffload.

Added: 
    

Modified: 
    openmp/runtime/test/ompt/tasks/dependences_mutexinoutset.c
    openmp/runtime/test/ompt/tasks/taskwait-depend.c
    openmp/runtime/test/ompt/teams/parallel_team.c
    openmp/runtime/test/ompt/teams/serial_teams.c
    openmp/runtime/test/ompt/teams/serialized.c
    openmp/runtime/test/ompt/teams/team.c

Removed: 
    


################################################################################
diff  --git a/openmp/runtime/test/ompt/tasks/dependences_mutexinoutset.c b/openmp/runtime/test/ompt/tasks/dependences_mutexinoutset.c
index 17cb2fd95bbfc..50385b69d44b1 100644
--- a/openmp/runtime/test/ompt/tasks/dependences_mutexinoutset.c
+++ b/openmp/runtime/test/ompt/tasks/dependences_mutexinoutset.c
@@ -4,6 +4,9 @@
 // GCC 9 introduced codegen for mutexinoutset
 // UNSUPPORTED: gcc-4, gcc-5, gcc-6, gcc-7, gcc-8
 
+// icc does not yet support mutexinoutset
+// XFAIL: icc
+
 // clang 9 introduced codegen for mutexinoutset
 // UNSUPPORTED: clang-4, clang-5, clang-6, clang-7, clang-8
 

diff  --git a/openmp/runtime/test/ompt/tasks/taskwait-depend.c b/openmp/runtime/test/ompt/tasks/taskwait-depend.c
index 74fee2024237c..16d0ee3c66dbd 100644
--- a/openmp/runtime/test/ompt/tasks/taskwait-depend.c
+++ b/openmp/runtime/test/ompt/tasks/taskwait-depend.c
@@ -4,6 +4,9 @@
 // taskwait with depend clause was introduced with gcc-9
 // UNSUPPORTED: gcc-4, gcc-5, gcc-6, gcc-7, gcc-8
 
+// icc does not yet support taskwait with depend clause
+// XFAIL: icc
+
 // clang does not yet support taskwait with depend clause
 // clang-12 introduced parsing, but no codegen
 // update expected result when codegen in clang was added

diff  --git a/openmp/runtime/test/ompt/teams/parallel_team.c b/openmp/runtime/test/ompt/teams/parallel_team.c
index 96ce0d542eb4c..255d03b4c5c61 100644
--- a/openmp/runtime/test/ompt/teams/parallel_team.c
+++ b/openmp/runtime/test/ompt/teams/parallel_team.c
@@ -1,6 +1,8 @@
 // RUN: %libomp-compile-and-run | %sort-threads | FileCheck %s
 // REQUIRES: ompt, multicpu
 // UNSUPPORTED: gcc
+// Compilation fails for icc
+// XFAIL: icc
 #include "callback.h"
 
 int main() {

diff  --git a/openmp/runtime/test/ompt/teams/serial_teams.c b/openmp/runtime/test/ompt/teams/serial_teams.c
index abd3db531626c..d436facbbe5ac 100644
--- a/openmp/runtime/test/ompt/teams/serial_teams.c
+++ b/openmp/runtime/test/ompt/teams/serial_teams.c
@@ -1,6 +1,8 @@
 // RUN: %libomp-compile-and-run | %sort-threads | FileCheck %s
 // REQUIRES: ompt, multicpu
 // UNSUPPORTED: gcc
+// Compilation fails for icc
+// XFAIL: icc
 #include "callback.h"
 
 int main() {

diff  --git a/openmp/runtime/test/ompt/teams/serialized.c b/openmp/runtime/test/ompt/teams/serialized.c
index 4edd422bf665d..4aeb406045dfd 100644
--- a/openmp/runtime/test/ompt/teams/serialized.c
+++ b/openmp/runtime/test/ompt/teams/serialized.c
@@ -1,6 +1,9 @@
 // RUN: %libomp-compile-and-run | FileCheck %s
 // REQUIRES: ompt
 // UNSUPPORTED: gcc
+// Compilation fails for icc
+// XFAIL: icc
+
 #include "callback.h"
 
 int main() {

diff  --git a/openmp/runtime/test/ompt/teams/team.c b/openmp/runtime/test/ompt/teams/team.c
index 3aa85ea626665..55b57e79f5913 100644
--- a/openmp/runtime/test/ompt/teams/team.c
+++ b/openmp/runtime/test/ompt/teams/team.c
@@ -1,6 +1,8 @@
 // RUN: %libomp-compile-and-run | FileCheck %s
 // REQUIRES: ompt
 // UNSUPPORTED: gcc
+// Compilation fails for icc
+// XFAIL: icc
 #include "callback.h"
 
 int main() {


        


More information about the Openmp-commits mailing list