cuda_device_count: Returns the number of GPUs available.

View source: R/cuda.R

cuda_device_countR Documentation

Returns the number of GPUs available.

Description

Returns the number of GPUs available.

Usage

cuda_device_count()

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