[all-commits] [llvm/llvm-project] 2b6f20: [OpenMP] Add function for setting LIBOMPTARGET_INF...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Thu Apr 22 09:48:41 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2b6f20082e8cf7552d2a4f641b27a8862f3af983
https://github.com/llvm/llvm-project/commit/2b6f20082e8cf7552d2a4f641b27a8862f3af983
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2021-04-22 (Thu, 22 Apr 2021)
Changed paths:
M openmp/docs/design/Runtimes.rst
M openmp/libomptarget/include/Debug.h
M openmp/libomptarget/include/omptarget.h
M openmp/libomptarget/include/omptargetplugin.h
M openmp/libomptarget/plugins/amdgpu/src/rtl.cpp
M openmp/libomptarget/plugins/cuda/src/rtl.cpp
M openmp/libomptarget/plugins/exports
M openmp/libomptarget/plugins/generic-elf-64bit/src/rtl.cpp
M openmp/libomptarget/plugins/remote/src/rtl.cpp
M openmp/libomptarget/plugins/ve/src/rtl.cpp
M openmp/libomptarget/src/exports
M openmp/libomptarget/src/interface.cpp
M openmp/libomptarget/src/rtl.cpp
M openmp/libomptarget/src/rtl.h
M openmp/libomptarget/test/offloading/info.c
Log Message:
-----------
[OpenMP] Add function for setting LIBOMPTARGET_INFO at runtime
Summary:
This patch adds a new runtime function __tgt_set_info_flag that allows the
user to set the information level at runtime without using the environment
variable. Using this will require an extern function, but will eventually be
added into an auxilliary library for OpenMP support functions.
This patch required moving the current InfoLevel to a global variable which must
be instantiated by each plugin.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D100774
More information about the All-commits
mailing list