Skip to main content

BackendAll

Trait BackendAll 

Source
pub trait BackendAll:
    Backend<f32>
    + Backend<f64>
    + Backend<f16>
    + Backend<bf16>
    + Backend<u32>
    + Backend<i32> { }
Expand description

Every element the crate supports, on one token: the bound Kernel::run carries so a kernel body can mix element families through one Gang. Blanket impl: any token implementing all six element backends. Elements a token’s ISA has no native lanes for ride the emulated array impls below, reachable only when a kernel mixes that element in and never chosen by the element’s own dispatch ladder.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§