[Openmp-commits] [PATCH] D91464: [OpenMP][OMPT] Implement verbose tool loading
Joachim Protze via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Fri Nov 13 14:58:16 PST 2020
protze.joachim created this revision.
protze.joachim added a reviewer: hbae.
protze.joachim added a project: OpenMP.
Herald added subscribers: guansong, yaxunl.
protze.joachim requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a subscriber: sstefan1.
OpenMP 5.1 introduces the new env variable OMP_TOOL_VERBOSE_INIT=(disabled|stdout|stderr|<filename>) to enable verbose loading and initialization of OMPT tools.
This env variable helps to understand the cause when loading of a tool fails (e.g., undefined symbols or dependency not in LD_LIBRARY_PATH)
Tests for this patch are integrated into the different existing tool loading tests, making these tests more verbose.
Patch prepared by: Isabel Thärigen
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D91464
Files:
openmp/runtime/src/ompt-general.cpp
openmp/runtime/test/ompt/loadtool/tool_available/tool_available.c
openmp/runtime/test/ompt/loadtool/tool_available_search/tool_available_search.c
openmp/runtime/test/ompt/loadtool/tool_not_available/tool_not_available.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91464.305268.patch
Type: text/x-patch
Size: 19938 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20201113/48339fa5/attachment-0001.bin>
More information about the Openmp-commits
mailing list