[Openmp-commits] [PATCH] D120106: [OpenMP] Add flag for disabling threat state in runtime

Johannes Doerfert via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Feb 17 19:27:08 PST 2022


jdoerfert added a comment.

I'd go with `config::mayRequireThreadSpecificState` or sth.
Also some documentation there.

you should be able to use assertions, like `ASSERT(false && "....")`. Which gives us messages in assert mode if violated.

Clang documentation should be something like
`no thread in parallel region will modify an ICV`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120106/new/

https://reviews.llvm.org/D120106



More information about the Openmp-commits mailing list