[all-commits] [llvm/llvm-project] 8cc4ca: [OpenMP] Add Cuda path to linker wrapper tool
Joseph Huber via All-commits
all-commits at lists.llvm.org
Thu Feb 3 17:39:36 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8cc4ca95b02bc5b5b668b3d537b45a6585575cba
https://github.com/llvm/llvm-project/commit/8cc4ca95b02bc5b5b668b3d537b45a6585575cba
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2022-02-03 (Thu, 03 Feb 2022)
Changed paths:
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
Log Message:
-----------
[OpenMP] Add Cuda path to linker wrapper tool
The linker wrapper tool uses the 'nvlink' and 'ptxas' binaries to link
and assemble device files. Previously we searched for this using the
binaries in the user's path. This didn't work in cases where the user
passed in a specific Cuda path to Clang. This patch changes the linker
wrapper to accept an argument for the Cuda path we can get from Clang.
This should fix #53573.
Reviewed By: tianshilei1992
Differential Revision: https://reviews.llvm.org/D118944
More information about the All-commits
mailing list