Trait ConvElement

Source
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.

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 ConvElement for f32

Source§

impl ConvElement for i8

Implementors§