[all-commits] [llvm/llvm-project] ad6a7d: [nvptx-arch] Dynamically load `libcuda.so.1` direc...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Tue Apr 4 17:50:56 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ad6a7d7dc9a2055ac3a4658d90ec86d78c3199b5
https://github.com/llvm/llvm-project/commit/ad6a7d7dc9a2055ac3a4658d90ec86d78c3199b5
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2023-04-04 (Tue, 04 Apr 2023)
Changed paths:
M clang/tools/nvptx-arch/NVPTXArch.cpp
Log Message:
-----------
[nvptx-arch] Dynamically load `libcuda.so.1` directly instead
This patch loads the CUDA driver library directly via its real
`DT_SONAME`. This prevents the filesystem from needing to reload it in
cases when it's already loaded.
Reviewed By: tra
Differential Revision: https://reviews.llvm.org/D147579
Commit: b8fab512e9557dfcc7c886f0bf594f6c1e2f850d
https://github.com/llvm/llvm-project/commit/b8fab512e9557dfcc7c886f0bf594f6c1e2f850d
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2023-04-04 (Tue, 04 Apr 2023)
Changed paths:
M llvm/runtimes/CMakeLists.txt
Log Message:
-----------
[libc] Ensure that the required clang tools are up-to-date for libc GPU
The `clang-offload-packager`. `nvptx-arch`, and `amdgpu-arch` tools are
required for building the GPU target of `libc`. This patch ensures that
we build this tool when directly building `libc` via `ninja libc` or similar.
Reviewed By: tra
Differential Revision: https://reviews.llvm.org/D147581
Commit: 7032f6d9503f5945ceee47e7338b8fcd1a0f6f83
https://github.com/llvm/llvm-project/commit/7032f6d9503f5945ceee47e7338b8fcd1a0f6f83
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2023-04-04 (Tue, 04 Apr 2023)
Changed paths:
M llvm/runtimes/CMakeLists.txt
Log Message:
-----------
[libc] Forward CUDA options to the runtimes invocation of `libc`
Some configurations may require `-DCUDAToolkit_ROOT` to find CUDA
properly. This is currently not forwarded to the CMake invocation. This
patch adds a prefix so it will be visible when the runtimes build is
started.
Reviewed By: tra
Differential Revision: https://reviews.llvm.org/D147582
Compare: https://github.com/llvm/llvm-project/compare/5b461d5ec172...7032f6d9503f
More information about the All-commits
mailing list