Skip to main content

is_available

Function is_available 

Source
pub fn is_available() -> bool
Expand description

True if a Level Zero GPU device is reachable on this system. The runtime registry only registers Device::OneApi when this returns true, so hosts with no oneAPI runtime (macOS, CI) fall through cleanly.