cuda_current_device: Returns the index of a currently selected device.

View source: R/cuda.R

cuda_current_deviceR Documentation

Returns the index of a currently selected device.

Description

Returns the index of a currently selected device.

Usage

cuda_current_device()

torch documentation built on Aug. 19, 2022, 5:08 p.m.