[all-commits] [llvm/llvm-project] 7b8130: [OpenMP][VE] Limit the number of threads to create...

Kazushi Marukawa via All-commits all-commits at lists.llvm.org
Wed Sep 20 01:44:52 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7b8130c2c38b54e93af6c9aeacd954f2085abd33
      https://github.com/llvm/llvm-project/commit/7b8130c2c38b54e93af6c9aeacd954f2085abd33
  Author: Kazushi Marukawa <marukawa at nec.com>
  Date:   2023-09-20 (Wed, 20 Sep 2023)

  Changed paths:
    M openmp/runtime/src/kmp.h
    M openmp/runtime/src/z_Linux_util.cpp

  Log Message:
  -----------
  [OpenMP][VE] Limit the number of threads to create (#66729)

VE supports up to 64 threads per a VE process. So, we limit the number
of threads defined by KMP_MAX_NTH. We also modify the __kmp_sys_max_nth
initialization to use KMP_MAX_NTH as a limit.




More information about the All-commits mailing list