[][src]Trait basic_dsp::numbers::ToSimd

pub trait ToSimd: Send + Sync {
    type RegFallback: SimdGeneric<Self>;
    type RegSse: SimdGeneric<Self>;
    type RegAvx: SimdGeneric<Self>;
    type RegAvx512: SimdGeneric<Self>;
    type GpuReg: GpuRegTrait;
}

Associates a number type with a SIMD register type.

Associated Types

type RegFallback: SimdGeneric<Self>

Type for the SIMD register on the CPU.

type RegSse: SimdGeneric<Self>

type RegAvx: SimdGeneric<Self>

type RegAvx512: SimdGeneric<Self>

type GpuReg: GpuRegTrait

Type for the SIMD register on the GPU. Defaults to an arbitrary type if GPU support is not compiled in.

Loading content...

Implementations on Foreign Types

impl ToSimd for f32
[src]

type RegFallback = f32x4

type RegSse = f32x4

type RegAvx = f32x4

type RegAvx512 = f32x4

type GpuReg = f32

impl ToSimd for f64
[src]

type RegFallback = f64x2

type RegSse = f64x2

type RegAvx = f64x2

type RegAvx512 = f64x2

type GpuReg = f64

Loading content...

Implementors

Loading content...