Skip to content
Search

NVCC

lastmod 2018-08-17created 2016-11-113 edits

gencode

Tell NVCC to add binaries for the specified GPUs

$ nvcc -gencode arch=compute_XX,code=sm_XX

Tell NVCC to add PTX intermediate code for the specified architectures

$ nvcc -gencode arch=compute_XX,code=compute_XX

See also

Favorite site