pub struct UdotOperation<'c> { /* private fields */ }
Expand description
An udot
operation. Vector-vector dot product and accumulate op.
UDOT: Unsigned integer addition of dot product.
This function maps to the UDOT instruction, and it takes signless integer operands that the operation interprets as unsigned. It partitions the second and third vector inputs into groups of four elements. They calculate the dot product of each group (without loss of precision) and then add each result to the overlapping element of the first vector input.
Source: https://developer.arm.com/documentation/100987/0000
Implementations§
source§impl<'c> UdotOperation<'c>
impl<'c> UdotOperation<'c>
sourcepub fn as_operation(&self) -> &Operation<'c>
pub fn as_operation(&self) -> &Operation<'c>
Returns a generic operation.
sourcepub fn builder(
context: &'c Context,
location: Location<'c>
) -> UdotOperationBuilder<'c, Unset, Unset, Unset, Unset>
pub fn builder( context: &'c Context, location: Location<'c> ) -> UdotOperationBuilder<'c, Unset, Unset, Unset, Unset>
Creates a builder.
pub fn dst(&self) -> Result<OperationResult<'c, '_>, Error>
pub fn acc(&self) -> Result<Value<'c, '_>, Error>
pub fn src_1(&self) -> Result<Value<'c, '_>, Error>
pub fn src_2(&self) -> Result<Value<'c, '_>, Error>
Trait Implementations§
source§impl<'c> From<UdotOperation<'c>> for Operation<'c>
impl<'c> From<UdotOperation<'c>> for Operation<'c>
source§fn from(operation: UdotOperation<'c>) -> Self
fn from(operation: UdotOperation<'c>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'c> RefUnwindSafe for UdotOperation<'c>
impl<'c> !Send for UdotOperation<'c>
impl<'c> !Sync for UdotOperation<'c>
impl<'c> Unpin for UdotOperation<'c>
impl<'c> UnwindSafe for UdotOperation<'c>
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