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