Determining supported compute capabilities

Is there a way using nvcc or some other CUDA tool to get the list of supported compute capabilities for the installed CUDA version? My goal would be to get that list using a command line application, thus far I haven’t found a way to do so.

/usr/local/cuda-11.3/bin/nvcc -code-ls
sm_35
sm_37
sm_50
sm_52
sm_53
sm_60
sm_61
sm_62
sm_70
sm_72
sm_75
sm_80
sm_86

I’m not sure when this option was added. I have Cuda 10.2 and 11.3 installed and 10.2 doesn’t support it.

1 Like

Awesome, that works in my setup. Thanks!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.