pub fn resolve(
choice: BackendChoice,
default: Backends,
compiled: Backends,
) -> Option<Backends>Expand description
Resolve choice against the backends this build contains (compiled): None = GPU off.
Asked-for backends that aren’t compiled in fall back to default.