OS Manuals

/usr/local/cuda-12.2/bin/nvprune

CUDA nvprune

From nvidia-cuda-nvprune-12.2 12.2.140-r5 (extra-packages), captured 2026-11-05 by running nvprune --help (exit 0). permalink

Usage  : nvprune [options] <object>

Options
=======

--arch <gpu architecture name>  (-arch)
        Specify the name of the nVidia GPU architecture which will remain in the
        object or library.


--generate-code                 (-gencode)
        This option is same format as nvcc --generate-code option, and provides a
        way to specify multiple architectures which should remain in the object or
        library. Only the 'code' values are used as targets to match.
        Allowed keywords for this option:  'arch','code'.

--help                          (-h)
        Print this help information on this tool.

--include-possible-codes        (-ipc)
        Includes possible code which might be useful on the target architecture.

--no-relocatable-elf            (-no-relocatable-elf)
        Don't keep any relocatable ELF.

--options-file <file>,...       (-optf)
        Include command line options from specified file.

--output-file <file>            (-o)
        Specify name and location of the output file.

--verbose                       (-v)
        Verbose output.

--version                       (-V)
        Print version information on this tool.
Options (9)
OptionDescriptionSource
--arch gpu(-arch) Specify the name of the nVidia GPU architecture which will remain in the object or library.help
--generate-code(-gencode) This option is same format as nvcc --generate-code option, and provides a way to specify multiple architectures which should remain in the object or library.help
--help(-h) Print this help information on this tool.help
--include-possible-codes(-ipc) Includes possible code which might be useful on the target architecture.help
--no-relocatable-elf(-no-relocatable-elf) Don't keep any relocatable ELF.help
--options-file file(-optf) Include command line options from specified file.help
--output-file file(-o) Specify name and location of the output file.help
--verbose(-v) Verbose output.help
--version(-V) Print version information on this tool.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.