Trait ha_ndarray::ops::Enqueue

source ·
pub trait Enqueue<P: PlatformInstance, T: CType>: Op {
    type Buffer: Into<BufferConverter<'static, T>>;

    // Required method
    fn enqueue(&self) -> Result<Self::Buffer, Error>;
}

Required Associated Types§

source

type Buffer: Into<BufferConverter<'static, T>>

Required Methods§

source

fn enqueue(&self) -> Result<Self::Buffer, Error>

Implementors§

source§

impl Enqueue<Platform, f32> for ha_ndarray::ops::RandomNormal

source§

impl Enqueue<Platform, f32> for ha_ndarray::ops::RandomUniform

source§

impl Enqueue<Host, f32> for ha_ndarray::host::ops::RandomNormal

source§

impl Enqueue<Host, f32> for ha_ndarray::host::ops::RandomUniform

source§

impl Enqueue<Heap, f32> for ha_ndarray::host::ops::RandomNormal

§

type Buffer = Vec<f32>

source§

impl Enqueue<Heap, f32> for ha_ndarray::host::ops::RandomUniform

§

type Buffer = Vec<f32>

source§

impl Enqueue<Stack, f32> for ha_ndarray::host::ops::RandomNormal

§

type Buffer = SmallVec<[f32; 64]>

source§

impl Enqueue<Stack, f32> for ha_ndarray::host::ops::RandomUniform

§

type Buffer = SmallVec<[f32; 64]>

source§

impl<A, IT, OT> Enqueue<Platform, OT> for ha_ndarray::ops::Scalar<A, IT, OT>
where A: Access<IT>, IT: CType, OT: CType,

§

type Buffer = Buffer<OT>

source§

impl<A, IT, OT> Enqueue<Platform, OT> for ha_ndarray::ops::Unary<A, IT, OT>
where A: Access<IT>, IT: CType, OT: CType,

§

type Buffer = Buffer<OT>

source§

impl<A, IT, OT> Enqueue<Host, OT> for ha_ndarray::host::ops::Scalar<A, IT, OT>
where A: Access<IT>, IT: CType, OT: CType,

§

type Buffer = Buffer<OT>

source§

impl<A, IT, OT> Enqueue<Host, OT> for ha_ndarray::host::ops::Unary<A, IT, OT>
where A: Access<IT>, IT: CType, OT: CType,

§

type Buffer = Buffer<OT>

source§

impl<A, IT, OT> Enqueue<Heap, OT> for ha_ndarray::host::ops::Scalar<A, IT, OT>
where A: Access<IT>, IT: CType, OT: CType,

§

type Buffer = Vec<OT>

source§

impl<A, IT, OT> Enqueue<Heap, OT> for ha_ndarray::host::ops::Unary<A, IT, OT>
where A: Access<IT>, IT: CType, OT: CType,

§

type Buffer = Vec<OT>

source§

impl<A, IT, OT> Enqueue<Stack, OT> for ha_ndarray::host::ops::Scalar<A, IT, OT>
where A: Access<IT>, IT: CType, OT: CType,

source§

impl<A, IT, OT> Enqueue<Stack, OT> for ha_ndarray::host::ops::Unary<A, IT, OT>
where A: Access<IT>, IT: CType, OT: CType,

source§

impl<A, L, R, T> Enqueue<Platform, T> for ha_ndarray::ops::Cond<A, L, R, T>
where A: Access<u8>, L: Access<T>, R: Access<T>, T: CType,

§

type Buffer = Buffer<T>

source§

impl<A, L, R, T> Enqueue<Host, T> for ha_ndarray::host::ops::Cond<A, L, R, T>
where A: Access<u8>, L: Access<T>, R: Access<T>, T: CType,

§

type Buffer = Buffer<T>

source§

impl<A, L, R, T> Enqueue<Heap, T> for ha_ndarray::host::ops::Cond<A, L, R, T>
where A: Access<u8>, L: Access<T>, R: Access<T>, T: CType,

§

type Buffer = Vec<T>

source§

impl<A, L, R, T> Enqueue<Stack, T> for ha_ndarray::host::ops::Cond<A, L, R, T>
where A: Access<u8>, L: Access<T>, R: Access<T>, T: CType,

source§

impl<A: Access<IT>, IT: CType, OT: CType> Enqueue<Platform, OT> for ha_ndarray::ops::Cast<A, IT, OT>

§

type Buffer = Buffer<OT>

source§

impl<A: Access<IT>, IT: CType, OT: CType> Enqueue<Host, OT> for ha_ndarray::host::ops::Cast<A, IT, OT>

§

type Buffer = Buffer<OT>

source§

impl<A: Access<IT>, IT: CType, OT: CType> Enqueue<Heap, OT> for ha_ndarray::host::ops::Cast<A, IT, OT>

§

type Buffer = Vec<OT>

source§

impl<A: Access<IT>, IT: CType, OT: CType> Enqueue<Stack, OT> for ha_ndarray::host::ops::Cast<A, IT, OT>

source§

impl<A: Access<T>, T: CType> Enqueue<Platform, T> for ha_ndarray::ops::MatDiag<A, T>

§

type Buffer = Buffer<T>

source§

impl<A: Access<T>, T: CType> Enqueue<Platform, T> for ha_ndarray::ops::Reduce<A, T>

§

type Buffer = Buffer<T>

source§

impl<A: Access<T>, T: CType> Enqueue<Platform, T> for ha_ndarray::ops::Slice<A, T>

§

type Buffer = Buffer<T>

source§

impl<A: Access<T>, T: CType> Enqueue<Platform, T> for ha_ndarray::ops::View<A, T>

§

type Buffer = Buffer<T>

source§

impl<A: Access<T>, T: CType> Enqueue<Host, T> for ha_ndarray::host::ops::MatDiag<A, T>

§

type Buffer = Buffer<T>

source§

impl<A: Access<T>, T: CType> Enqueue<Host, T> for ha_ndarray::host::ops::Reduce<A, T>

§

type Buffer = Buffer<T>

source§

impl<A: Access<T>, T: CType> Enqueue<Host, T> for ha_ndarray::host::ops::Slice<A, T>

§

type Buffer = Buffer<T>

source§

impl<A: Access<T>, T: CType> Enqueue<Host, T> for ha_ndarray::host::ops::View<A, T>

§

type Buffer = Buffer<T>

source§

impl<A: Access<T>, T: CType> Enqueue<Heap, T> for ha_ndarray::host::ops::MatDiag<A, T>

§

type Buffer = Vec<T>

source§

impl<A: Access<T>, T: CType> Enqueue<Heap, T> for ha_ndarray::host::ops::Reduce<A, T>

§

type Buffer = Vec<T>

source§

impl<A: Access<T>, T: CType> Enqueue<Heap, T> for ha_ndarray::host::ops::Slice<A, T>

§

type Buffer = Vec<T>

source§

impl<A: Access<T>, T: CType> Enqueue<Heap, T> for ha_ndarray::host::ops::View<A, T>

§

type Buffer = Vec<T>

source§

impl<A: Access<T>, T: CType> Enqueue<Stack, T> for ha_ndarray::host::ops::MatDiag<A, T>

source§

impl<A: Access<T>, T: CType> Enqueue<Stack, T> for ha_ndarray::host::ops::Reduce<A, T>

source§

impl<A: Access<T>, T: CType> Enqueue<Stack, T> for ha_ndarray::host::ops::Slice<A, T>

source§

impl<A: Access<T>, T: CType> Enqueue<Stack, T> for ha_ndarray::host::ops::View<A, T>

source§

impl<L, R, IT, OT> Enqueue<Platform, OT> for ha_ndarray::ops::Dual<L, R, IT, OT>
where L: Access<IT>, R: Access<IT>, IT: CType, OT: CType,

§

type Buffer = Buffer<OT>

source§

impl<L, R, IT, OT> Enqueue<Host, OT> for ha_ndarray::host::ops::Dual<L, R, IT, OT>
where L: Access<IT>, R: Access<IT>, IT: CType, OT: CType,

§

type Buffer = Buffer<OT>

source§

impl<L, R, IT, OT> Enqueue<Heap, OT> for ha_ndarray::host::ops::Dual<L, R, IT, OT>
where L: Access<IT>, R: Access<IT>, IT: CType, OT: CType,

§

type Buffer = Vec<OT>

source§

impl<L, R, IT, OT> Enqueue<Stack, OT> for ha_ndarray::host::ops::Dual<L, R, IT, OT>
where L: Access<IT>, R: Access<IT>, IT: CType, OT: CType,

source§

impl<L, R, T> Enqueue<Platform, T> for ha_ndarray::ops::MatMul<L, R, T>
where L: Access<T>, R: Access<T>, T: CType,

§

type Buffer = Buffer<T>

source§

impl<L, R, T> Enqueue<Host, T> for ha_ndarray::host::ops::MatMul<L, R, T>
where L: Access<T>, R: Access<T>, T: CType,

§

type Buffer = Buffer<T>

source§

impl<L, R, T> Enqueue<Heap, T> for ha_ndarray::host::ops::MatMul<L, R, T>
where L: Access<T>, R: Access<T>, T: CType,

§

type Buffer = Vec<T>

source§

impl<L, R, T> Enqueue<Stack, T> for ha_ndarray::host::ops::MatMul<L, R, T>
where L: Access<T>, R: Access<T>, T: CType,

source§

impl<T: CType> Enqueue<Platform, T> for ha_ndarray::ops::Linear<T>

§

type Buffer = Buffer<T>

source§

impl<T: CType> Enqueue<Host, T> for ha_ndarray::host::ops::Linear<T>

§

type Buffer = Buffer<T>

source§

impl<T: CType> Enqueue<Heap, T> for ha_ndarray::host::ops::Linear<T>

§

type Buffer = Vec<T>

source§

impl<T: CType> Enqueue<Stack, T> for ha_ndarray::host::ops::Linear<T>