[Openmp-commits] [PATCH] D77609: [OpenMP] Added the support for hidden helper task in RTL
Roman Lebedev via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Tue Mar 16 09:26:49 PDT 2021
lebedev.ri added a comment.
I'm also hitting asserts with with this change (as i've told @jdoerfert in irc previously)
I'm reliably hitting "Assertion failure at kmp_runtime.cpp(4314): new_gtid < __kmp_threads_capacity."
unless i specify LIBOMP_NUM_HIDDEN_HELPER_THREADS=0.
It's both easy to repro, and not, i don't have a standalone repro.
I believe this involves compiling a program that uses omp with clang, linking it to llvm's libomp,
and linking it to some library that is compiled with gcc and linked to libgomp.
The issue appears to happen regardless of whether or not the libgomp used is provided at runtime by gcc or llvm.
I would suggest reverting this.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77609/new/
https://reviews.llvm.org/D77609
More information about the Openmp-commits
mailing list