[all-commits] [llvm/llvm-project] d981c7: [OpenMP] Add Support for Mapping Names in Libompta...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Oct 27 13:58:52 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d981c7b7581efc3ef378709042100e75da0185a0
      https://github.com/llvm/llvm-project/commit/d981c7b7581efc3ef378709042100e75da0185a0
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2020-10-27 (Tue, 27 Oct 2020)

  Changed paths:
    A openmp/libomptarget/include/SourceInfo.h
    M openmp/libomptarget/include/omptarget.h
    M openmp/libomptarget/src/device.cpp
    M openmp/libomptarget/src/device.h
    M openmp/libomptarget/src/interface.cpp
    M openmp/libomptarget/src/omptarget.cpp
    M openmp/libomptarget/src/private.h
    M openmp/libomptarget/src/rtl.cpp

  Log Message:
  -----------
  [OpenMP] Add Support for Mapping Names in Libomptarget RTL

Summary:
This patch adds basic support for priting the source location and names for the
mapped variables. This patch does not support names for custom mappers. This is
based on D89802. The names information currently will be printed out only in
debug mode or using env LIBOMPTARGET_INFO during execution. But the information
is added when availible to the Device and Private data structures. To get the
information out the code must be built with debug symbols on using -g or
-Rpass=openmp-opt

Reviewers: jdoerfert

Differential Revision: https://reviews.llvm.org/D90172




More information about the All-commits mailing list