[all-commits] [llvm/llvm-project] ae23be: [OpenMP] Make the new offloading driver the default
Joseph Huber via All-commits
all-commits at lists.llvm.org
Mon Apr 18 12:05:35 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ae23be84cb60357829078e832613660bfe98687f
https://github.com/llvm/llvm-project/commit/ae23be84cb60357829078e832613660bfe98687f
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2022-04-18 (Mon, 18 Apr 2022)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/Driver/amdgpu-openmp-system-arch.c
A clang/test/Driver/amdgpu-openmp-toolchain-new.c
M clang/test/Driver/amdgpu-openmp-toolchain.c
M clang/test/Driver/fat_archive_amdgpu.cpp
M clang/test/Driver/fat_archive_nvptx.cpp
A clang/test/Driver/openmp-offload-gpu-new.c
M clang/test/Driver/openmp-offload-gpu.c
M clang/test/Driver/openmp-offload.c
M clang/test/OpenMP/driver-openmp-target.c
M openmp/libomptarget/CMakeLists.txt
M openmp/libomptarget/plugins/CMakeLists.txt
M openmp/libomptarget/plugins/amdgpu/CMakeLists.txt
M openmp/libomptarget/plugins/cuda/CMakeLists.txt
M openmp/libomptarget/test/lit.cfg
M openmp/libomptarget/test/mapping/data_member_ref.cpp
M openmp/libomptarget/test/mapping/declare_mapper_nested_default_mappers.cpp
M openmp/libomptarget/test/mapping/declare_mapper_nested_mappers.cpp
M openmp/libomptarget/test/mapping/lambda_by_value.cpp
M openmp/libomptarget/test/mapping/lambda_mapping.cpp
M openmp/libomptarget/test/mapping/ompx_hold/struct.c
M openmp/libomptarget/test/offloading/bug49021.cpp
M openmp/libomptarget/test/offloading/bug49334.cpp
M openmp/libomptarget/test/offloading/bug49779.cpp
M openmp/libomptarget/test/offloading/bug51781.c
M openmp/libomptarget/test/offloading/host_as_target.c
M openmp/libomptarget/test/offloading/memory_manager.cpp
M openmp/libomptarget/test/offloading/parallel_offloading_map.cpp
M openmp/libomptarget/test/offloading/static_linking.c
M openmp/libomptarget/test/offloading/taskloop_offload_nowait.cpp
M openmp/libomptarget/test/unified_shared_memory/api.c
Log Message:
-----------
[OpenMP] Make the new offloading driver the default
Previously an opt-in flag `-fopenmp-new-driver` was used to enable the
new offloading driver. After passing tests for a few months it should be
sufficiently mature to flip the switch and make it the default. The new
offloading driver is now enabled if there is OpenMP and OpenMP
offloading present and the new `-fno-openmp-new-driver` is not present.
The new offloading driver has three main benefits over the old method:
- Static library support
- Device-side LTO
- Unified clang driver stages
Depends on D122683
Differential Revision: https://reviews.llvm.org/D122831
Commit: 15e62062c0c919ac1fa28d6f0c9f438063da2286
https://github.com/llvm/llvm-project/commit/15e62062c0c919ac1fa28d6f0c9f438063da2286
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2022-04-18 (Mon, 18 Apr 2022)
Changed paths:
M clang/docs/ClangCommandLineReference.rst
M clang/docs/OffloadingDesign.rst
M clang/docs/OpenMPSupport.rst
Log Message:
-----------
[Clang][Docs] Update information on the new driver now that it's default
Summary:
This patch updates some of the documentation on the new driver now that
it's the default. Also the ABI for embedding these images changed.
Compare: https://github.com/llvm/llvm-project/compare/9ec501da76fc...15e62062c0c9
More information about the All-commits
mailing list