[all-commits] [llvm/llvm-project] 690c92: [OpenMP][AIX] Use syssmt() to get the number of SM...

Xing Xue via All-commits all-commits at lists.llvm.org
Fri Apr 26 10:23:55 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 690c929b6c68b4cd0ff314a0a88d3b218d46db2d
      https://github.com/llvm/llvm-project/commit/690c929b6c68b4cd0ff314a0a88d3b218d46db2d
  Author: Xing Xue <xingxue at outlook.com>
  Date:   2024-04-26 (Fri, 26 Apr 2024)

  Changed paths:
    M openmp/runtime/src/kmp_affinity.cpp
    M openmp/runtime/src/kmp_affinity.h

  Log Message:
  -----------
  [OpenMP][AIX] Use syssmt() to get the number of SMTs per physical CPU (#89985)

This patch changes to use system call `syssmt()` instead of
`lpar_get_info()` to get the number of SMTs (logical processors) per
physical processor for AIX. `lpar_get_info()` gives the max number of
SMTs that the physical processor can support while `syssmt()` returns
the number that is currently configured.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list