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.
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.