pub trait ConvElement: OclPrm + Copy + 'static {
    type Acc: OclPrm + Copy + 'static;
    type Params: Copy + Into<Params> + Into<Self::ClParams>;
    type ClParams: OclPrm;
}
Expand description

Supported element types for convolutions.

Required Associated Types§

source

type Acc: OclPrm + Copy + 'static

Type of the multiply-add accumulator.

source

type Params: Copy + Into<Params> + Into<Self::ClParams>

Parameters of the convolution.

source

type ClParams: OclPrm

OpenCL-friendly version of parameters. This is considered an implementation detail.

Implementations on Foreign Types§

source§

impl ConvElement for f32

§

type Acc = f32

§

type Params = Params

§

type ClParams = ClParams

source§

impl ConvElement for i8

§

type Acc = i32

§

type Params = I8Params

§

type ClParams = ClI8Params

Implementors§