[Openmp-commits] [PATCH] D47717: [OMPT] Make sure that OMPT is enabled in runtime entry points that access internals of the runtime
Joachim Protze via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Mon Jun 18 07:54:41 PDT 2018
protze.joachim added a comment.
The OMPT tool can decide at multiple points to be inactive, here we look at:
4.2.1.2 Initializing an OMPT Tool
> If a tool initializer returns a non-zero value, the tool will be activated for the execution; otherwise, the tool will be inactive.
This tool behavior is represented in line 136 of the test-code. Similar behavior is also expect after the ompt_finalize_tool is added: the tool should be inactive, but the runtime should still not crash or reboot if the tool calls some of the runtime entry points after calling ompt_finalize_tool.
https://reviews.llvm.org/D47717
More information about the Openmp-commits
mailing list