CmdID

CmdID / Commands

nvcc

The NVIDIA CUDA Compiler Driver. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Compile a CUDA program

nvcc path/to/source.cu --output-file path/to/executableIdentify

Generate debug information

nvcc path/to/source.cu --output-file path/to/executable --debug --device-debugIdentify

Include libraries from a different path

nvcc path/to/source.cu --output-file path/to/executable --include-path path/to/includes --library-path path/to/library --library library_nameIdentify

Specify the compute capability for a specific GPU architecture

nvcc path/to/source.cu --output-file path/to/executable --generate-code arch=arch_name,code=gpu_code_nameIdentify