[all-commits] [llvm/llvm-project] 46642c: [Libomptarget] Remove debug RAII from libomptarget
Joseph Huber via All-commits
all-commits at lists.llvm.org
Thu Aug 3 07:38:04 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 46642cc83dc575962e1a6eb557714319c65ca5b8
https://github.com/llvm/llvm-project/commit/46642cc83dc575962e1a6eb557714319c65ca5b8
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2023-08-03 (Thu, 03 Aug 2023)
Changed paths:
M openmp/docs/design/Runtimes.rst
M openmp/libomptarget/DeviceRTL/include/Debug.h
M openmp/libomptarget/DeviceRTL/src/Debug.cpp
M openmp/libomptarget/DeviceRTL/src/Kernel.cpp
M openmp/libomptarget/DeviceRTL/src/Mapping.cpp
M openmp/libomptarget/DeviceRTL/src/Misc.cpp
M openmp/libomptarget/DeviceRTL/src/Parallelism.cpp
M openmp/libomptarget/DeviceRTL/src/Reduction.cpp
M openmp/libomptarget/DeviceRTL/src/State.cpp
M openmp/libomptarget/DeviceRTL/src/Synchronization.cpp
M openmp/libomptarget/DeviceRTL/src/Tasking.cpp
M openmp/libomptarget/DeviceRTL/src/Utils.cpp
M openmp/libomptarget/DeviceRTL/src/Workshare.cpp
Log Message:
-----------
[Libomptarget] Remove debug RAII from libomptarget
This feature was supposed to allow you to trace execution inside of
Libomptarget. However, this never really worked properly. The printing
was always reoganized, only worked for single threads, and pretty much
only told you a handful of things about a runtime library that's an
implementation detail to all users. Despite this, it contributed about
40% of the total filesize of the deviceRTL. This patch simply removes
this functionalit which I think was past due.
Reviewed By: tianshilei1992
Differential Revision: https://reviews.llvm.org/D157001
More information about the All-commits
mailing list