Trait collenchyma_blas::plugin::BlasBinaryProvider [] [src]

pub trait BlasBinaryProvider<F, B: IBlasBinary<F> + IBinary> {
    fn binary(&self) -> &B;
    fn device(&self) -> &DeviceType;
}

Allows a BlasBinary to be provided which is used for a IBlas implementation.

Required Methods

fn binary(&self) -> &B

Returns the binary representation

fn device(&self) -> &DeviceType

Returns the device representation

Trait Implementations

impl<F, B: IBlasBinary<F> + IBinary> IBlas<F> for BlasBinaryProvider<F, B>

Implementors