[OpenMP] Consolidate error handling and debug messages in Libomptarget
authorJoseph Huber <jhuber6@vols.utk.edu>
Fri, 28 Aug 2020 19:11:23 +0000 (15:11 -0400)
committerHuber, Joseph <huberjn@ornl.gov>
Tue, 1 Sep 2020 19:28:19 +0000 (15:28 -0400)
commitae95ceeb8f98d81f615c69da02f73b5ee6b1519a
tree59cc16769c461bfe9a5d9638d20dfec01c6560a9
parent99f3b231cb21abc567c93813650cd76cfa614325
[OpenMP] Consolidate error handling and debug messages in Libomptarget

Summary:

This patch consolidates the error handling and messaging routines to a single
file omptargetmessage. The goal is to simplify the error handling interface
prior to adding more error handling support

Reviewers: jdoerfert grokos ABataev AndreyChurbanov ronlieb JonChesterfield ye-luo tianshilei1992

Subscribers: danielkiss guansong jvesely kerbowa nhaehnle openmp-commits sstefan1 yaxunl
12 files changed:
openmp/libomptarget/include/Debug.h [new file with mode: 0644]
openmp/libomptarget/include/omptarget.h
openmp/libomptarget/plugins/amdgpu/src/rtl.cpp
openmp/libomptarget/plugins/common/elf_common.c
openmp/libomptarget/plugins/cuda/src/rtl.cpp
openmp/libomptarget/plugins/generic-elf-64bit/src/rtl.cpp
openmp/libomptarget/plugins/ve/src/rtl.cpp
openmp/libomptarget/src/api.cpp
openmp/libomptarget/src/interface.cpp
openmp/libomptarget/src/omptarget.cpp
openmp/libomptarget/src/private.h
openmp/libomptarget/src/rtl.cpp