OSDN Git Service

[OpenMP] Add using bit flags to select Libomptarget Information
authorJoseph Huber <jhuber6@vols.utk.edu>
Fri, 18 Dec 2020 20:14:44 +0000 (15:14 -0500)
committerHuber, Joseph <huberjn@ornl.gov>
Mon, 4 Jan 2021 17:03:15 +0000 (12:03 -0500)
commitfe5d51a4897c26696fede55e120c912df60cd3f4
tree8f363a35a72f75b958f95744cd266eca0b765e96
parentf7463ca3cc5ba8455c4611c5afa79c48d8a79326
[OpenMP] Add using bit flags to select Libomptarget Information

Summary:
This patch adds more fine-grained support over which information is output from the libomptarget runtime when run with the environment variable LIBOMPTARGET_INFO set. An extensible set of flags can be used to pick and choose which information the user is interested in.

Reviewers: jdoerfert JonChesterfield grokos

Differential Revision: https://reviews.llvm.org/D93727
openmp/libomptarget/include/Debug.h
openmp/libomptarget/include/SourceInfo.h
openmp/libomptarget/plugins/cuda/src/rtl.cpp
openmp/libomptarget/src/device.cpp
openmp/libomptarget/src/interface.cpp
openmp/libomptarget/src/private.h
openmp/libomptarget/test/offloading/info.c