Number of multiprocessors

In order to more easily fulfill the performance guideline from Section 5.2: “there be at least twice as many blocks as there are multiprocessors in the device,” can the number of multiprocessors please be made available via cudaDeviceProp? Is it already available elsewhere at run-time?