[][src]Trait ocl_convolution::WithParams

pub trait WithParams {
    type Params: Clone + Debug + Into<Self::ClParams>;
    type ClParams: OclPrm;
    fn get_generic_params(params: &Self::Params) -> Params;
}

Type that can be associated with convolution parameters.

Associated Types

type Params: Clone + Debug + Into<Self::ClParams>

Parameters of the convolution.

type ClParams: OclPrm

OpenCL-friendly version of parameters.

Loading content...

Required methods

fn get_generic_params(params: &Self::Params) -> Params

Extracts generic parameters.

Loading content...

Implementations on Foreign Types

impl WithParams for f32[src]

type Params = Params

type ClParams = ClParams

impl WithParams for i8[src]

type Params = I8Params

type ClParams = ClI8Params

Loading content...

Implementors

Loading content...