CurrentDevice#

inline int cub::CurrentDevice()#

Returns the current device or -1 if an error occurred.