How do I get the CUDA cores count in jcuda?
I've tried this but it doesn't produce the right output:
int cudacount = cudaDeviceAttr.cudaDevAttrMultiProcessorCount;
It returns 16 but I have 1 Nvidia GPU with 640 cudacores.
The JavaDoc for the above property is available here. Any help will be appreciated.
It seems that this answer does almost exactly what you want. It's written in C, and the types are slightly different, so here's a Java version (it's hardly any different):
Use this function like so: