[Openmp-commits] [openmp] [OpenMP][AIX] Affinity implementation for AIX (PR #84984)

Brad Smith via Openmp-commits openmp-commits at lists.llvm.org
Thu Mar 14 23:18:06 PDT 2024


================
@@ -2971,6 +2973,9 @@ static bool __kmp_affinity_create_cpuinfo_map(int *line,
     *msg_id = kmp_i18n_str_CantRewindCpuinfo;
     return false;
   }
+#else // KMP_OS_AIX
+  unsigned num_records = __kmp_xproc;
+#endif
----------------
brad0 wrote:

I tend to prefer inverting the logic and having the AIX bits.

https://github.com/llvm/llvm-project/pull/84984


More information about the Openmp-commits mailing list