pub struct OpenBlasAdapter { /* private fields */ }Expand description
Mock implementation for OpenBLAS adapter
Implementations§
Trait Implementations§
Source§impl Clone for OpenBlasAdapter
impl Clone for OpenBlasAdapter
Source§fn clone(&self) -> OpenBlasAdapter
fn clone(&self) -> OpenBlasAdapter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OpenBlasAdapter
impl Debug for OpenBlasAdapter
Source§impl Default for OpenBlasAdapter
impl Default for OpenBlasAdapter
Source§impl ExternalBlas for OpenBlasAdapter
impl ExternalBlas for OpenBlasAdapter
Source§fn scal(&self, alpha: f32, x: &mut [f32]) -> ExternalResult<()>
fn scal(&self, alpha: f32, x: &mut [f32]) -> ExternalResult<()>
Vector-scalar multiplication (SSCAL)
Source§fn axpy(&self, alpha: f32, x: &[f32], y: &mut [f32]) -> ExternalResult<()>
fn axpy(&self, alpha: f32, x: &[f32], y: &mut [f32]) -> ExternalResult<()>
Vector addition (SAXPY): y = alpha * x + y
Source§impl ExternalLibrary for OpenBlasAdapter
impl ExternalLibrary for OpenBlasAdapter
Source§fn is_available(&self) -> bool
fn is_available(&self) -> bool
Check if the library is available on the system
Source§fn initialize(&mut self) -> ExternalResult<()>
fn initialize(&mut self) -> ExternalResult<()>
Initialize the library (if needed)
Source§fn supported_operations(&self) -> Vec<String>
fn supported_operations(&self) -> Vec<String>
Get supported operations
Source§fn supports_operation(&self, operation: &str) -> bool
fn supports_operation(&self, operation: &str) -> bool
Check if a specific operation is supported
Auto Trait Implementations§
impl Freeze for OpenBlasAdapter
impl RefUnwindSafe for OpenBlasAdapter
impl Send for OpenBlasAdapter
impl Sync for OpenBlasAdapter
impl Unpin for OpenBlasAdapter
impl UnsafeUnpin for OpenBlasAdapter
impl UnwindSafe for OpenBlasAdapter
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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