[Openmp-commits] [llvm] [openmp] [OpenMP][offload] Size the grid of cross-team reductions by their size (PR #234190)
Robert Imschweiler via Openmp-commits
openmp-commits at lists.llvm.org
Thu Oct 29 09:07:50 PDT 2026
================
@@ -1139,6 +1140,22 @@ This environment variable can be used to control how the OpenMP runtime assigns
blocks to loops with high trip counts. By default we reuse existing blocks
rather than spawning new blocks.
+#### LIBOMPTARGET_TEAMS_REDUCTION_WAVES_PER_CU
----------------
ro-i wrote:
> Is this inherited from staging?
I added this downstream in https://github.com/ROCm/llvm-project/pull/5000 as a replacement for the older env vars we had downstream.
I know that we don't want a lot of them, but I felt like this is useful enough for benchmarking or fine-tuning that it should stay.
I benchmarked on a lot of architectures and found no meaningful differences in the thresholds other than what I implemented in this PR (or the corresponding code that I added downstream).
https://github.com/llvm/llvm-project/pull/234190
More information about the Openmp-commits
mailing list