nvlink --version (return code: 0)
nvlink: NVIDIA (R) Cuda linker
Copyright (c) 2005-2016 NVIDIA Corporation
Built on Sun_Sep__4_22:14:01_CDT_2016
Cuda compilation tools, release 8.0, V8.0.44
nvlink --help (return code: 0)
Usage : nvlink [options] <objects>
Options
=======
--arch <gpu architecture name> (-arch)
Specify the 'sm_' name of the target architecture.
Allowed values for this option: 'compute_20','compute_30','compute_32',
'compute_35','compute_37','compute_50','compute_52','compute_53','compute_60',
'compute_61','compute_62','sm_20','sm_21','sm_30','sm_32','sm_35','sm_37',
'sm_50','sm_52','sm_53','sm_60','sm_61','sm_62'.
--cpu-arch <cpu architecture name> (-cpu-arch)
Specify the name of the cpu target architecture.
Allowed values for this option: 'AARCH64','ARMv7','PPC64LE','X86','X86_64',
'unknown'.
Default value: 'unknown'.
--debug (-g)
Specify that this was a debug compile.
--disable-warnings (-w)
Inhibit all warning messages.
--dot-file <file name> (-dot)
Specify name and location of output file that will contain callgraph in dot
format.
--help (-h)
Print this help information on this tool.
--keep-system-libraries (-keep-system-libraries)
Don't optimize away system library (e.g. cudadevrt) code.
--library <library>,... (-l)
Specify libraries to be used in the linking stage. The libraries are searched
for on the library search paths that have been specified using option '-L'.
--library-path <library-path>,... (-L)
Specify library search paths.
--machine <bits> (-m)
Specify 32 vs 64 bit architecture.
Allowed values for this option: 32,64.
Default value: 64.
--options-file <file>,... (-optf)
Include command line options from specified file.
--output-file <file name> (-o)
Specify name and location of the output file.
--preserve-relocs (-preserve-relocs)
Preserve resolved relocations in linked executable.
--register-link-binaries <file name> --register-link-binaries <file name>
Specify name and location of output file that will contain names of cudaRegister
routines for each linked file.
--report-arch (-report-arch)
Report SM target arch in error messages.
--verbose (-v)
Enable verbose mode which prints code generation statistics.
--version (-V)
Print version information on this tool.
--warning-as-error (-Werror)
Make all warnings into errors.