[Openmp-commits] [PATCH] D87165: [OpenMP] Begin Printing Information Dumps In Libomptarget and Plugins

Joseph Huber via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Sep 4 14:25:45 PDT 2020


jhuber6 created this revision.
jhuber6 added a reviewer: jdoerfert.
jhuber6 added a project: OpenMP.
Herald added subscribers: openmp-commits, guansong, yaxunl.
jhuber6 requested review of this revision.
Herald added a subscriber: sstefan1.

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 <https://reviews.llvm.org/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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D87165

Files:
  openmp/libomptarget/include/Debug.h
  openmp/libomptarget/plugins/cuda/src/rtl.cpp
  openmp/libomptarget/src/interface.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87165.290028.patch
Type: text/x-patch
Size: 5022 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20200904/2e8e2be7/attachment.bin>


More information about the Openmp-commits mailing list