[Openmp-commits] [openmp] [OpenMP][AIX] Affinity implementation for AIX (PR #84984)
Xing Xue via Openmp-commits
openmp-commits at lists.llvm.org
Thu Mar 21 10:15:05 PDT 2024
================
@@ -404,6 +409,68 @@ class KMPNativeAffinity : public KMPAffinity {
++retval;
return retval;
}
+#if KMP_OS_AIX
+ // On AIX, we don't have a way to get CPU(s) a thread is bound to.
+ // This routine is only used to get the full mask.
+ int get_system_affinity(bool abort_on_error) override {
----------------
xingxue-ibm wrote:
Added code to avoid compiler warning. Thanks for pointing out.
https://github.com/llvm/llvm-project/pull/84984
More information about the Openmp-commits
mailing list