[all-commits] [llvm/llvm-project] a95b25: [Libomptarget][NFC] Move global Libomptarget state...
Atmn Patel via All-commits
all-commits at lists.llvm.org
Mon Nov 2 21:12:34 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a95b25b29ecf498afa17ad526226ae3a4271d228
https://github.com/llvm/llvm-project/commit/a95b25b29ecf498afa17ad526226ae3a4271d228
Author: Atmn Patel <a335pate at uwaterloo.ca>
Date: 2020-11-03 (Tue, 03 Nov 2020)
Changed paths:
M openmp/libomptarget/src/api.cpp
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
M openmp/libomptarget/src/rtl.h
Log Message:
-----------
[Libomptarget][NFC] Move global Libomptarget state to a struct
Presently, there a number of global variables in libomptarget (devices,
RTLs, tables, mutexes, etc.) that are not placed within a struct. This
patch places them into a struct ``PluginManager``. All of the functions
that act on this data remain free.
Differential Revision: https://reviews.llvm.org/D90519
More information about the All-commits
mailing list