[Openmp-commits] [openmp] [OpenMP][AIX] Affinity implementation for AIX (PR #84984)
Kelvin Li via Openmp-commits
openmp-commits at lists.llvm.org
Thu Mar 21 09:01:23 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 {
----------------
kkwli wrote:
Is `abort_on_error` used here?
https://github.com/llvm/llvm-project/pull/84984
More information about the Openmp-commits
mailing list