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 May 29, 2024, 9:54 a.m.