pub struct GlobalFullUnitReduce;Implementations§
Source§impl GlobalFullUnitReduce
impl GlobalFullUnitReduce
pub fn execute<P: ReducePrecision, Out: NumericVector, I: ReduceInstruction<P>>( input: &VirtualTensor<P::EI, P::SI>, output: &mut VirtualTensor<Out::T, Out::N, ReadWrite>, reduce_axis: usize, out_vec_axis: usize, inst: &I, vectorization_mode: VectorizationMode, blueprint: UnitReduceBlueprint, )
pub fn reduce_single<P: ReducePrecision, Out: NumericVector, I: ReduceInstruction<P>>( input: &VirtualTensor<P::EI, P::SI>, output: &mut VirtualTensor<Out::T, Out::N, ReadWrite>, reduce_axis: usize, reduce_index: usize, inst: &I, idle: ComptimeOption<bool>, vectorization_mode: VectorizationMode, ) -> Accumulator<P>
pub fn __expand_execute<P: ReducePrecision, Out: NumericVector, I: ReduceInstruction<P>>( scope: &mut Scope, input: <VirtualTensor<P::EI, P::SI> as RudaType>::ExpandType, output: <VirtualTensor<Out::T, Out::N, ReadWrite> as RudaType>::ExpandType, reduce_axis: <usize as RudaType>::ExpandType, out_vec_axis: <usize as RudaType>::ExpandType, inst: <I as RudaType>::ExpandType, vectorization_mode: VectorizationMode, blueprint: UnitReduceBlueprint, ) -> <() as RudaType>::ExpandType
pub fn __expand_reduce_single<P: ReducePrecision, Out: NumericVector, I: ReduceInstruction<P>>( scope: &mut Scope, input: <VirtualTensor<P::EI, P::SI> as RudaType>::ExpandType, output: <VirtualTensor<Out::T, Out::N, ReadWrite> as RudaType>::ExpandType, reduce_axis: <usize as RudaType>::ExpandType, reduce_index: <usize as RudaType>::ExpandType, inst: <I as RudaType>::ExpandType, idle: <ComptimeOption<bool> as RudaType>::ExpandType, vectorization_mode: VectorizationMode, ) -> <Accumulator<P> as RudaType>::ExpandType
Trait Implementations§
Source§impl RudaType for GlobalFullUnitReduce
impl RudaType for GlobalFullUnitReduce
type ExpandType = GlobalFullUnitReduceExpand
fn __expand_inactive_value(scope: &mut Scope) -> Self::ExpandType
fn __expand_absent_reference( _scope: &mut Scope, _writable: bool, ) -> Self::ExpandType
Auto Trait Implementations§
impl Freeze for GlobalFullUnitReduce
impl RefUnwindSafe for GlobalFullUnitReduce
impl Send for GlobalFullUnitReduce
impl Sync for GlobalFullUnitReduce
impl Unpin for GlobalFullUnitReduce
impl UnsafeUnpin for GlobalFullUnitReduce
impl UnwindSafe for GlobalFullUnitReduce
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