[Openmp-commits] [openmp] [OpenMP][AIX] XFAIL capacity tests on AIX in 32-bit (PR #83014)

Xing Xue via Openmp-commits openmp-commits at lists.llvm.org
Mon Feb 26 07:11:39 PST 2024


https://github.com/xingxue-ibm created https://github.com/llvm/llvm-project/pull/83014

This patch XFAILs two capacity tests on AIX in 32-bit because running out resource with `4 x omp_get_max_threads()` in 32-bit mode.

>From cd24d44543d1245bb31a652b81807963f11ad9ba Mon Sep 17 00:00:00 2001
From: Xing Xue <xingxue at outlook.com>
Date: Mon, 26 Feb 2024 09:46:24 -0500
Subject: [PATCH] XFAIL two capacity tests on AIX in 32-bit.

---
 .../test/tasking/hidden_helper_task/capacity_mix_threads.cpp   | 3 +++
 .../test/tasking/hidden_helper_task/capacity_nthreads.cpp      | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/openmp/runtime/test/tasking/hidden_helper_task/capacity_mix_threads.cpp b/openmp/runtime/test/tasking/hidden_helper_task/capacity_mix_threads.cpp
index 776aee9d8e2cac..3f2ceef0c4add4 100644
--- a/openmp/runtime/test/tasking/hidden_helper_task/capacity_mix_threads.cpp
+++ b/openmp/runtime/test/tasking/hidden_helper_task/capacity_mix_threads.cpp
@@ -1,4 +1,7 @@
 // RUN: %libomp-cxx-compile-and-run
+//
+// AIX runs out of resource in 32-bit with 4*omp_get_max_threads() threads.
+// XFAIL: aix && ppc
 
 #include <omp.h>
 
diff --git a/openmp/runtime/test/tasking/hidden_helper_task/capacity_nthreads.cpp b/openmp/runtime/test/tasking/hidden_helper_task/capacity_nthreads.cpp
index b551318a72f3f9..f7405d00255cb9 100644
--- a/openmp/runtime/test/tasking/hidden_helper_task/capacity_nthreads.cpp
+++ b/openmp/runtime/test/tasking/hidden_helper_task/capacity_nthreads.cpp
@@ -1,4 +1,7 @@
 // RUN: %libomp-cxx-compile-and-run
+//
+// AIX runs out of resource in 32-bit with 4*omp_get_max_threads() threads.
+// XFAIL: aix && ppc
 
 #include <omp.h>
 



More information about the Openmp-commits mailing list