Skip to content

Commit

Permalink
[Clang][NFC] Use correct tool name for NVIDIA's 'nvlink'
Browse files Browse the repository at this point in the history
Summary:
This step was incorrectly called 'fatbinary', so if it failed here it
would say 'fatbinary' was the cause of the failure. This is actually
'nvlink' so we should adjust this.
  • Loading branch information
jhuber6 committed Oct 16, 2023
1 parent 8a47ad4 commit b7de1d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/lib/Driver/ToolChains/Cuda.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class LLVM_LIBRARY_VISIBILITY FatBinary : public Tool {
// Runs nvlink, which links GPU object files ("cubin" files) into a single file.
class LLVM_LIBRARY_VISIBILITY Linker : public Tool {
public:
Linker(const ToolChain &TC) : Tool("NVPTX::Linker", "fatbinary", TC) {}
Linker(const ToolChain &TC) : Tool("NVPTX::Linker", "nvlink", TC) {}

bool hasIntegratedCPP() const override { return false; }

Expand Down

0 comments on commit b7de1d0

Please sign in to comment.