Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Number of cores on NVIDIA K20 GPU in Mathematica

I am using an NVIDIA K20 GPU in Mathematica. The whitepaper for the K20 states the following specs:

  1. 2496 single-precision cores (192 per multiprocessor x 13 multiprocessors)
  2. 832 double-precision cores (64 per multiprocessor x 13 multiprocessors)
  3. 416 special function units (32 per multiprocessor x 13 multiprocessors)

However, when I launch Mathematica and look at the specs of the GPU after loading OpenCL or CUDA, it says that I have only 416 cores (I have attached a screenshot of the Mathematica commands and reported specs). Is this somehow related to the number of double-precision cores or special function units? Mathematica reports these specs before I tell it what kind of code I will write (e.g. double precision, transcendental functions).enter image description here

like image 690
user1401630 Avatar asked Jan 13 '23 17:01

user1401630


1 Answers

It is much more likely that your Mathematica does not yet know about the Kepler architecture yet, and thus translates multiprocessor count into core count incorrectly.

Since "cores" are mostly a marketing invention anyway, you can safely ignore that number. Mathematica will still use the entire GPU (although a Kepler-aware version might still bring some speedup through other optimizations).

like image 84
tera Avatar answered Feb 06 '23 07:02

tera