pub fn device_index(scope: &mut Scope) -> Result<Operation>
Shorthand for DeviceIndex::new().build(scope).
DeviceIndex::new().build(scope)