cub::DeviceCountUncached

Defined in cub/util_device.cuh

inline int cub::DeviceCountUncached()

Returns the number of CUDA devices available or -1 if an error occurred.