cub::DeviceCount# inline int cub::DeviceCount()# Returns the number of CUDA devices available. Deprecated [Since 3.5] Note This function may cache the result internally. Note This function is thread safe.