[Openmp-commits] [llvm] [openmp] [OpenMP][offload] Inline target reductions (PR #196061)

Robert Imschweiler via Openmp-commits openmp-commits at lists.llvm.org
Thu May 7 06:49:43 PDT 2026


================

----------------
ro-i wrote:

I tried to remove the always_inline from the "big" methods, aka `__kmpc_nvptx_parallel_reduce_nowait_v2` and `__kmpc_nvptx_teams_reduce_nowait_v2`. That makes the benefit go away. And the `inline` keyword is not possible for them afaiu because they need to have external linkage (which also answers one of @shiltian's thoughts).

https://github.com/llvm/llvm-project/pull/196061


More information about the Openmp-commits mailing list