cuda_device_info: Query properties of the first CUDA GPU device

View source: R/RcppExports.R

cuda_device_infoR Documentation

Query properties of the first CUDA GPU device

Description

Returns a named list with hardware information about the first CUDA-capable GPU. Returns an empty list when no CUDA device is available or when the package was built without CUDA.

Usage

cuda_device_info()

Value

Named list with:

name

Character: GPU model name.

memory_gb

Numeric: total global memory in gigabytes.

compute_capability

Character: e.g. "8.0" for A100.

An empty list when no CUDA device is detected.

See Also

has_cuda, cuda_device_count


xbioclim documentation built on Oct. 5, 2026, 5:08 p.m.