[Openmp-commits] [openmp] [OpenMP] Fix hyper barrier performance issue (PR #195473)

via Openmp-commits openmp-commits at lists.llvm.org
Tue May 5 23:33:23 PDT 2026


jprotze wrote:

I think, aggressive active waiting mainly makes sense on otherwise empty systems. Yielding in the barrier can reduce context switches in the middle of computation.

A better option might be to allow changing the OpenMP wait policy at runtime (i.e. introduce omp_get/set_wait_policy calls), so that the application can encode the preferred behavior.

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


More information about the Openmp-commits mailing list