How can I know about compute capability and sm of my Graphics card?
I know I can get the compute capabilty by just visiting this official cuda page, or this wiki page.
But I dont know how I am supposed to find the sm
of my card.
Is this short for shader model
? or shared memory
? or none of them?
Solution 1:
You should just use your compute capability from the page you linked to. For example, if your compute capability is 6.1 us sm_61 and compute_61.
SM stands for "streaming multiprocessor". The arguments are set in this confusing looking way because they are used as arguments for nvcc where the compute_XX sets the architecture for a virtual (intermediate) code representation and sm_XX sets the architecture for the real representation. Unless you have a good reason, you should set both of these to the same thing.