Nevermind.
blockDim gives you the number of threads per block. To get the number of blocks per grid, you use gridDim.