multiProcessorCount missing from cuGetDeviceProperties

The property multiProcessorCount is provided by the cudaGetDeviceProperties call but not by the driver API cuGetDeviceProperties call.

Is this an oversight?

You can use cuDeviceGetAttribute() with CU_DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT attribute to query this. CUDA 2.0 and above only.

Perfect, thanks. External Image