Defined in cub/util_device.cuh
Returns the number of CUDA devices available.
Note
This function may cache the result internally.
This function is thread safe.