Skip to main content

list_devices

Function list_devices 

Source
pub fn list_devices() -> Vec<DeviceInfo>
Expand description

List all available compute devices.

Always includes CPU. Checks for CUDA/CoreML/DirectML/TensorRT availability based on enabled features.