pub struct DynamicSharedAccumulator<P: ReducePrecision> {
pub elements: SharedAccumulatorKind<Vector<P::EA, P::SI>>,
pub args: SharedAccumulatorKind<Vector<u32, P::SI>>,
}Fields§
§elements: SharedAccumulatorKind<Vector<P::EA, P::SI>>§args: SharedAccumulatorKind<Vector<u32, P::SI>>Trait Implementations§
fn allocate(length: usize, coordinate: bool, inst: &I) -> Self
fn read(accumulator: &Self, index: usize) -> Accumulator<P>
fn write(accumulator: &mut Self, index: usize, item: Accumulator<P>)
fn __expand_allocate( scope: &mut Scope, length: usize, coordinate: bool, inst: <I as RudaType>::ExpandType, ) -> <Self as RudaType>::ExpandType
fn __expand_read( scope: &mut Scope, accumulator: <Self as RudaType>::ExpandType, index: <usize as RudaType>::ExpandType, ) -> <Accumulator<P> as RudaType>::ExpandType
fn __expand_write( scope: &mut Scope, accumulator: <Self as RudaType>::ExpandType, index: <usize as RudaType>::ExpandType, item: <Accumulator<P> as RudaType>::ExpandType, ) -> <() as RudaType>::ExpandType
Auto Trait Implementations§
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more