[Openmp-commits] [openmp] [OpenMP][clang] 6.0: num_threads strict (part 1: host runtime) (PR #146403)

via Openmp-commits openmp-commits at lists.llvm.org
Mon Jul 7 12:55:20 PDT 2025


jprotze wrote:

I'm wondering whether the runtime code is sufficient to implement 6.0 runtime error behavior for the strict modifier. As I understand the runtime change in this PR, it only catches the case for serialized parallel regions.
I think, runtime error termination should catch whenever requested nthreads < effective nthreads. It could also be the case due to max-active-levels-var, or exceeding the thread-limit. At the end, the reason doesn't really matter.


The error from the build bot is confusing without having more output available from the error case.

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


More information about the Openmp-commits mailing list