How to know the compute capability of my Nvidia Card in C/C++?
<p>Many framework require that your nvidia graphic card has a specific compute capability version.</p>

<p>I am developing a C++ application that uses Cuda. I should get this information by code. so that I can assign the needed framework for each graphic compute capability.
How to know the compute capability of my nvidia graphic in C/C++?</p>