cub::CurrentDevice

Defined in /home/runner/work/cccl/cccl/cub/cub/util_device.cuh

inline int cub::CurrentDevice()

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