[llvm-branch-commits] [mlir] [OpenMP][MLIR] Add thread_limit mlir->llvm lowering (PR #179608)
Sergio Afonso via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Apr 14 06:08:46 PDT 2026
================
@@ -37,6 +44,20 @@ module attributes {dlti.dl_spec = #dlti.dl_spec<#dlti.dl_entry<"dlti.alloca_memo
}
omp.terminator
}
+
+ // Multi-dim thread_limit: first dim constant, second dim constant.
+ // MaxThreads uses the first dim combined value: min(20, 10) = 10.
----------------
skatrak wrote:
Nit: Probably this comment belongs with the global generated for this target region, I thought it was missing a CHECK line here.
https://github.com/llvm/llvm-project/pull/179608
More information about the llvm-branch-commits
mailing list