[Openmp-commits] [openmp] [openmp][AIX] Add AIX to __kmp_set_stack_info() (PR #77421)
Brad Smith via Openmp-commits
openmp-commits at lists.llvm.org
Tue Jan 9 00:03:03 PST 2024
https://github.com/brad0 created https://github.com/llvm/llvm-project/pull/77421
I don't have an AIX system.
I am not sure if any additional headers are necessary. Please test.
>From 6868a692074f9826a00bf1980501340b937e4ceb Mon Sep 17 00:00:00 2001
From: Brad Smith <brad at comstyle.com>
Date: Tue, 9 Jan 2024 02:42:43 -0500
Subject: [PATCH] [openmp][AIX] Add AIX to __kmp_set_stack_info()
---
openmp/runtime/src/z_Linux_util.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/openmp/runtime/src/z_Linux_util.cpp b/openmp/runtime/src/z_Linux_util.cpp
index f01fa647c4d428..513ec6517d00bd 100644
--- a/openmp/runtime/src/z_Linux_util.cpp
+++ b/openmp/runtime/src/z_Linux_util.cpp
@@ -422,7 +422,7 @@ void __kmp_terminate_thread(int gtid) {
static kmp_int32 __kmp_set_stack_info(int gtid, kmp_info_t *th) {
int stack_data;
#if KMP_OS_LINUX || KMP_OS_DRAGONFLY || KMP_OS_FREEBSD || KMP_OS_NETBSD || \
- KMP_OS_HURD || KMP_OS_SOLARIS
+ KMP_OS_HURD || KMP_OS_SOLARIS || KMP_OS_AIX
pthread_attr_t attr;
int status;
size_t size = 0;
More information about the Openmp-commits
mailing list