title: CUDA: How many concurrent threads in total on a device?
body: <p>How do I programatically find the maximum number of concurrent cuda threads or streaming multiprocessors on a device / nvidia graphics card? I know about <code>warpSize</code>, but there is no <code>warpCount</code>.</p>
  
  <p><a href="https://stackoverflow.com/questions/6490572/cuda-how-many-concurrent-threads-in-total">most answers on the internet</a> concern themselves with looking up things from pdfs.</p>