Trait 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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

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,

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,

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,

Source§

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,

Source§

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,

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,

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,

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>

Source§

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

Source§

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

Source§

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>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<A: Access<T>, T: CType> Enqueue<Heap, T> for ha_ndarray::host::ops::View<A, 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,

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,

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,

Source§

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,

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,

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,

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>

Source§

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

Source§

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

Source§

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