[all-commits] [llvm/llvm-project] 7f4f75: [MLIR][SCFToOpenMP] Add num-threads option (#74854)

Pablo Antonio Martinez via All-commits all-commits at lists.llvm.org
Thu Dec 14 01:07:30 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f4f75c144c623bea5e6eb042940a5035c4ab826
      https://github.com/llvm/llvm-project/commit/7f4f75c144c623bea5e6eb042940a5035c4ab826
  Author: Pablo Antonio Martinez <pablo.antonio.martinez at huawei.com>
  Date:   2023-12-14 (Thu, 14 Dec 2023)

  Changed paths:
    M mlir/include/mlir/Conversion/Passes.td
    M mlir/lib/Conversion/SCFToOpenMP/SCFToOpenMP.cpp
    M mlir/test/Conversion/SCFToOpenMP/scf-to-openmp.mlir

  Log Message:
  -----------
  [MLIR][SCFToOpenMP] Add num-threads option (#74854)

Add `num-threads` option to the `-convert-scf-to-openmp` pass, allowing
to set the number of threads to be used in the `omp.parallel` to a fixed
value.




More information about the All-commits mailing list