Skip to main content

AdvancedSimdAccelerator

Struct AdvancedSimdAccelerator 

Source
pub struct AdvancedSimdAccelerator<F: IntegrateFloat> { /* private fields */ }
Expand description

Optimized SIMD acceleration engine

Implementations§

Source§

impl<F: IntegrateFloat + SimdUnifiedOps> AdvancedSimdAccelerator<F>

Source

pub fn new() -> IntegrateResult<Self>

Create a new advanced-SIMD accelerator

Source

pub fn advanced_vector_add_fma( &self, a: &ArrayView1<'_, F>, b: &ArrayView1<'_, F>, c: &ArrayView1<'_, F>, scale: F, ) -> IntegrateResult<Array1<F>>

Advanced-optimized vector addition with FMA

Source

pub fn advanced_matrix_vector_multiply( &self, matrix: &Array2<F>, vector: &ArrayView1<'_, F>, ) -> IntegrateResult<Array1<F>>

Optimized matrix-vector multiplication with cache blocking

Source

pub fn advanced_dot_product( &self, a: &ArrayView1<'_, F>, b: &ArrayView1<'_, F>, ) -> IntegrateResult<F>

Advanced-optimized dot product with multiple accumulation

Source

pub fn advanced_reduce_sum( &self, data: &ArrayView1<'_, F>, ) -> IntegrateResult<F>

Optimized reduction operations with tree reduction

Source

pub fn advanced_elementwise_conditional( &self, a: &ArrayView1<'_, F>, b: &ArrayView1<'_, F>, condition: impl Fn(F, F) -> bool, true_op: impl Fn(F, F) -> F, false_op: impl Fn(F, F) -> F, ) -> IntegrateResult<Array1<F>>

Advanced-optimized element-wise operations with predication

Source

pub fn advanced_gather( &self, data: &ArrayView1<'_, F>, indices: &[usize], ) -> IntegrateResult<Array1<F>>

Optimized gather operation for sparse access patterns

Source

pub fn advanced_rk4_vectorized( &self, t: F, y: &ArrayView1<'_, F>, h: F, f: impl Fn(F, &ArrayView1<'_, F>) -> IntegrateResult<Array1<F>>, ) -> IntegrateResult<Array1<F>>

Advanced-optimized Runge-Kutta step with vectorized stages

Source

pub fn advanced_mixed_precision_step( &self, high_precisiondata: &ArrayView1<'_, F>, operation: MixedPrecisionOperation, ) -> IntegrateResult<Array1<F>>

Mixed-precision computation for enhanced performance

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V