Nvcc -arch sm_52 gives the error "The value" sm_52 "is not defined for the option" gpu-architecture ""

I updated my cuda toolkit from 5.5 to 6.5. Then run the command

nvcc -arch=sm_52

starting to give me an error

nvcc fatal   : Value 'sm_52' is not defined for option 'gpu-architecture'

This is mistake? or nvcc 6.5 does not support the Maxwell virtual architecture.

+4
source share
1 answer

CUDA Toolkit 6.5 was released before the advent of architecture sm_52.

After the architecture arrived sm_52, an update was released for CUDA 6.5, which allowed nvcc to generate code for sm_52.

Make sure you download the newer version of CUDA Toolkit 6.5 .

P.S: ( 7.0).

+6

All Articles