Learn R Programming

torch (version 0.8.1)

cuda_get_device_capability: Returns the major and minor CUDA capability of device

Description

Returns the major and minor CUDA capability of device

Usage

cuda_get_device_capability(device = cuda_current_device())

Arguments

device

Integer value of the CUDA device to return capabilities of.