Function furiosa_device::get_device

source ·
pub async fn get_device(idx: u8) -> DeviceResult<Device>
Expand description

Return a specific Furiosa NPU device in the system.

Arguments

  • idx - An index number of the device (e.g., 0, 1)

See the crate-level documentation.