Skip to main content

cuda_runtime_hardware_class

Function cuda_runtime_hardware_class 

Source
pub fn cuda_runtime_hardware_class() -> Result<HardwareClassId, RuntimeConfigError>
Expand description

Return the canonical CUDA runtime hardware class.

ยงErrors

Returns RuntimeConfigError if the built-in CUDA hardware class violates runtime identifier validation.