[all-commits] [llvm/llvm-project] cd0ea0: [OpenMP][NFC] Remove unused and untested code from...
Johannes Doerfert via All-commits
all-commits at lists.llvm.org
Fri Jul 10 17:11:44 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: cd0ea03e6f157e8fb477cd8368b29e1448eeb265
https://github.com/llvm/llvm-project/commit/cd0ea03e6f157e8fb477cd8368b29e1448eeb265
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2020-07-10 (Fri, 10 Jul 2020)
Changed paths:
M clang/test/OpenMP/nvptx_target_simd_codegen.cpp
M openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h
M openmp/libomptarget/deviceRTLs/common/omptarget.h
M openmp/libomptarget/deviceRTLs/common/src/data_sharing.cu
M openmp/libomptarget/deviceRTLs/common/src/libcall.cu
M openmp/libomptarget/deviceRTLs/common/src/loop.cu
M openmp/libomptarget/deviceRTLs/common/src/omptarget.cu
M openmp/libomptarget/deviceRTLs/common/src/parallel.cu
M openmp/libomptarget/deviceRTLs/common/src/reduction.cu
M openmp/libomptarget/deviceRTLs/common/src/support.cu
M openmp/libomptarget/deviceRTLs/common/src/sync.cu
M openmp/libomptarget/deviceRTLs/common/support.h
M openmp/libomptarget/deviceRTLs/interface.h
M openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h
Log Message:
-----------
[OpenMP][NFC] Remove unused and untested code from the device runtime
Summary:
We carried a lot of unused and untested code in the device runtime.
Among other reasons, we are planning major rewrites for which reduced
size is going to help a lot.
The number of code lines reduced by 14%!
Before:
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
CUDA 13 489 841 2454
C/C++ Header 14 322 493 1377
C 12 117 124 559
CMake 4 64 64 262
C++ 1 6 6 39
-------------------------------------------------------------------------------
SUM: 44 998 1528 4691
-------------------------------------------------------------------------------
After:
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
CUDA 13 366 733 1879
C/C++ Header 14 317 484 1293
C 12 117 124 559
CMake 4 64 64 262
C++ 1 6 6 39
-------------------------------------------------------------------------------
SUM: 44 870 1411 4032
-------------------------------------------------------------------------------
Reviewers: hfinkel, jhuber6, fghanim, JonChesterfield, grokos, AndreyChurbanov, ye-luo, tianshilei1992, ggeorgakoudis, Hahnfeld, ABataev, hbae, ronlieb, gregrodgers
Subscribers: jvesely, yaxunl, bollu, guansong, jfb, sstefan1, aaron.ballman, openmp-commits, cfe-commits
Tags: #clang, #openmp
Differential Revision: https://reviews.llvm.org/D83349
More information about the All-commits
mailing list