llvm-project/openmp/libomptarget/src
Joseph Huber 59b6849012 [OpenMP] Replace global InfoLevel with a reference to an internal one.
Summary:
This patch improves the implementation of D100774 by replacing the global
variable introduced with a function that returns a reference to an internal
one. This removes the need to define the variable in every plugin that uses it.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D101102
2021-04-23 09:43:46 -04:00
..
CMakeLists.txt [OpenMP][Libomptarget] Introduce Remote Offloading Plugin 2021-01-26 15:33:38 -05:00
api.cpp [OpenMP] Add omp_target_is_accessible() to header files 2021-04-16 07:54:15 -05:00
device.cpp [OpenMP] Add info for device table changes 2021-04-15 18:39:48 -04:00
device.h [libomptarget] Add allocator support for target memory 2021-03-13 03:47:07 -08:00
exports [OpenMP] Add function for setting LIBOMPTARGET_INFO at runtime 2021-04-22 12:48:11 -04:00
interface.cpp [OpenMP] Replace global InfoLevel with a reference to an internal one. 2021-04-23 09:43:46 -04:00
omptarget.cpp [OPENMP]Fix PR49698: OpenMP declare mapper causes segmentation fault. 2021-04-21 10:38:31 -07:00
private.h [libomptarget] Add allocator support for target memory 2021-03-13 03:47:07 -08:00
rtl.cpp [OpenMP] Add function for setting LIBOMPTARGET_INFO at runtime 2021-04-22 12:48:11 -04:00
rtl.h [OpenMP] Add function for setting LIBOMPTARGET_INFO at runtime 2021-04-22 12:48:11 -04:00