CUB
|
RAII helper which saves the current device and switches to the specified device on construction and switches to the saved device on destruction.
Public Methods | |
__host__ | SwitchDevice (int new_device) |
__host__ | ~SwitchDevice () |
|
inline |
|
inline |