How can I get the number of CUDA cores in my GPU using Python and Numba?
问题 I would like to know how to obtain the total number of CUDA Cores in my GPU using Python, Numba and cudatoolkit. 回答1: Most of what you need can be found by combining the information in this answer along with the information in this answer. We'll use the first answer to indicate how to get the device compute capability and also the number of streaming multiprocessors. We'll use the second answer (converted to python) to use the compute capability to get the "core" count per SM, then multiply