In this dialog box, you can select options for generating GPU code:

In this case, "compute_20" means that I am compiling for virtual computing architecture 2.0 - the virtual architecture affects the stage of PTX generation.
The second part that comes after a coma is "sm_21". This affects the generation phase of CUBIN. It defines the real architecture of the GPU. I want to compile PTX.
You can find a detailed description of the nvcc command line options that control code generation here .
RobiK source share