Skip to content

Commit b7de1d0

Browse files
committed
[Clang][NFC] Use correct tool name for NVIDIA's 'nvlink'
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.
1 parent 8a47ad4 commit b7de1d0

File tree

1 file changed

+1
-1
lines changed
  • clang/lib/Driver/ToolChains

1 file changed

+1
-1
lines changed

clang/lib/Driver/ToolChains/Cuda.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class LLVM_LIBRARY_VISIBILITY FatBinary : public Tool {
110110
// Runs nvlink, which links GPU object files ("cubin" files) into a single file.
111111
class LLVM_LIBRARY_VISIBILITY Linker : public Tool {
112112
public:
113-
Linker(const ToolChain &TC) : Tool("NVPTX::Linker", "fatbinary", TC) {}
113+
Linker(const ToolChain &TC) : Tool("NVPTX::Linker", "nvlink", TC) {}
114114

115115
bool hasIntegratedCPP() const override { return false; }
116116

0 commit comments

Comments
 (0)