Skip to main content

device_count

Function device_count 

Source
pub fn device_count() -> usize
Expand description

The number of compute devices currently registered.

Do not race this query with init_backends or init_backends_default.