TotalView Reference Guide : Part I: CLI Commands : CLI Commands : dcuda : dcuda device [<n>]
dcuda device [<n>]
*With no arguments, shows the current CUDA device.
*With a numeric argument, changes the CUDA device focus to that device.