OS Manuals

/usr/local/cuda-13.4/bin/nvprune

CUDA nvprune

From nvidia-cuda-nvprune-13.4 13.4.92-r0 (extra-packages), captured 2026-11-05 by running nvprune --help (exit 0). permalink

Usage  : nvprune [options] <object>

Options
=======

--allow-no-device-code          (-allow-no-device-code)
        Suppress warning when input has no device code.

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


--force-cubin                   (-force-cubin)
        Ignore non-cubin device code (e.g. PTX) for targets. Silently produces empty
        device code if no matching cubin exists.

--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.

--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 (10)
OptionDescriptionSource
--allow-no-device-code(-allow-no-device-code) Suppress warning when input has no device code.help
--arch gpu(-arch) Specify the name of the nVidia GPU architecture which will remain in the object or library.help
--force-cubin(-force-cubin) Ignore non-cubin device code (e.g. PTX) for targets.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
--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.