MatrixPrecision

Trait MatrixPrecision 

Source
pub trait MatrixPrecision:
    Send
    + Sync
    + Copy
    + 'static {
    type Global: Numeric;
    type Stage: Numeric;
    type Register: Numeric;
}

Required Associated Types§

Source

type Global: Numeric

Element type of input tensor in global memory

Source

type Stage: Numeric

Element type once stored in shared memory

Source

type Register: Numeric

Element type once in registers for computation

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<EG: Numeric, ES: Numeric> MatrixPrecision for (EG, ES)

Source§

type Global = EG

Source§

type Stage = ES

Source§

type Register = ES

Implementors§