OSDN Git Service

[OpenMP] Begin Printing Information Dumps In Libomptarget and Plugins
authorJoseph Huber <jhuber6@vols.utk.edu>
Fri, 4 Sep 2020 19:03:49 +0000 (15:03 -0400)
committerHuber, Joseph <huberjn@ornl.gov>
Wed, 9 Sep 2020 16:03:56 +0000 (12:03 -0400)
commitae209397b1733f31e8fa260722aaee49cf3f0f4b
tree9a215baddee1307022c317edff9e5bc8119ee376
parent6e45b989340607682d5ac95285ea7faf3cb2a030
[OpenMP] Begin Printing Information Dumps In Libomptarget and Plugins

Summary:
This patch starts adding support for adding information dumps to libomptarget
and rtl plugins. The information printing is controlled by the
LIBOMPTARGET_INFO environment variable introduced in D86483. The goal of this
patch is to provide the user with additional information about the device
during kernel execution and providing the user with information dumps in the
case of failure. This patch added the ability to dump the pointer mapping table
as well as printing the number of blocks and threads in the cuda RTL.

Reviewers: jdoerfort gkistanova ye-luo

Subscribers: guansong openmp-commits sstefan1 yaxunl ye-luo

Tags: #OpenMP

Differential Revision: https://reviews.llvm.org/D87165
openmp/libomptarget/include/Debug.h
openmp/libomptarget/plugins/cuda/src/rtl.cpp
openmp/libomptarget/src/interface.cpp
openmp/libomptarget/test/offloading/info.c [new file with mode: 0644]