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 June 7, 2023, 6:19 p.m.