pub struct UltraSimdEngine { /* private fields */ }Expand description
Ultra-advanced SIMD engine for maximum vectorization performance
Implementations§
Source§impl UltraSimdEngine
impl UltraSimdEngine
Sourcepub fn new(config: SimdEngineConfig) -> Result<Self>
pub fn new(config: SimdEngineConfig) -> Result<Self>
Create new ultra-SIMD engine with runtime feature detection
Sourcepub fn select_optimal_kernel(
&self,
operation: &str,
data_size: usize,
) -> Result<SimdKernel>
pub fn select_optimal_kernel( &self, operation: &str, data_size: usize, ) -> Result<SimdKernel>
Select optimal kernel for given operation and data size
Sourcepub fn optimized_matmul(
&self,
a: &[f32],
b: &[f32],
c: &mut [f32],
m: usize,
n: usize,
k: usize,
) -> Result<()>
pub fn optimized_matmul( &self, a: &[f32], b: &[f32], c: &mut [f32], m: usize, n: usize, k: usize, ) -> Result<()>
Perform optimized matrix multiplication
Sourcepub fn optimized_elementwise(
&self,
a: &[f32],
b: &[f32],
c: &mut [f32],
op: ElementWiseOp,
) -> Result<()>
pub fn optimized_elementwise( &self, a: &[f32], b: &[f32], c: &mut [f32], op: ElementWiseOp, ) -> Result<()>
Perform optimized element-wise operations
Sourcepub fn get_performance_stats(&self) -> Result<SimdPerformanceStats>
pub fn get_performance_stats(&self) -> Result<SimdPerformanceStats>
Get comprehensive performance statistics
Auto Trait Implementations§
impl Freeze for UltraSimdEngine
impl RefUnwindSafe for UltraSimdEngine
impl Send for UltraSimdEngine
impl Sync for UltraSimdEngine
impl Unpin for UltraSimdEngine
impl UnsafeUnpin for UltraSimdEngine
impl UnwindSafe for UltraSimdEngine
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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