[Openmp-commits] [openmp] [libomp] Set `KMP_USE_YIELD=0` when `OMP_WAIT_POLICY=active` if it's not specified explicitly (PR #199628)

Ryotaro Kasuga via Openmp-commits openmp-commits at lists.llvm.org
Mon Jun 15 22:29:44 PDT 2026


kasuga-fj wrote:

> I'd like to run some performance tests with this setting and will get back to you.

Thanks!

> Also, I'd suggest KMP_USE_YIELD=2 instead of 0. It is basically the same, but will prevent hanging in case threads are oversubscribed.

Also thanks for the suggestion. I'll change to use `KMP_USE_YIELD=2`.

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


More information about the Openmp-commits mailing list