pub struct ExternalBlas64Backend { /* private fields */ }Expand description
External BLAS backend (ILP64: 64-bit integers).
Implementations§
Source§impl ExternalBlas64Backend
impl ExternalBlas64Backend
Sourcepub fn new(dgemm64: Dgemm64FnPtr, zgemm64: Zgemm64FnPtr) -> Self
pub fn new(dgemm64: Dgemm64FnPtr, zgemm64: Zgemm64FnPtr) -> Self
Wrap ILP64 Fortran dgemm_/zgemm_ function pointers.
Trait Implementations§
Source§impl GemmBackend for ExternalBlas64Backend
impl GemmBackend for ExternalBlas64Backend
Source§unsafe fn dgemm(
&self,
transa: Transpose,
transb: Transpose,
m: usize,
n: usize,
k: usize,
alpha: f64,
a: *const f64,
lda: usize,
b: *const f64,
ldb: usize,
beta: f64,
c: *mut f64,
ldc: usize,
) -> Result<(), GemmError>
unsafe fn dgemm( &self, transa: Transpose, transb: Transpose, m: usize, n: usize, k: usize, alpha: f64, a: *const f64, lda: usize, b: *const f64, ldb: usize, beta: f64, c: *mut f64, ldc: usize, ) -> Result<(), GemmError>
Real double-precision GEMM. Read more
Source§unsafe fn zgemm(
&self,
transa: Transpose,
transb: Transpose,
m: usize,
n: usize,
k: usize,
alpha: Complex<f64>,
a: *const Complex<f64>,
lda: usize,
b: *const Complex<f64>,
ldb: usize,
beta: Complex<f64>,
c: *mut Complex<f64>,
ldc: usize,
) -> Result<(), GemmError>
unsafe fn zgemm( &self, transa: Transpose, transb: Transpose, m: usize, n: usize, k: usize, alpha: Complex<f64>, a: *const Complex<f64>, lda: usize, b: *const Complex<f64>, ldb: usize, beta: Complex<f64>, c: *mut Complex<f64>, ldc: usize, ) -> Result<(), GemmError>
Complex double-precision GEMM. Read more
Auto Trait Implementations§
impl Freeze for ExternalBlas64Backend
impl RefUnwindSafe for ExternalBlas64Backend
impl Send for ExternalBlas64Backend
impl Sync for ExternalBlas64Backend
impl Unpin for ExternalBlas64Backend
impl UnsafeUnpin for ExternalBlas64Backend
impl UnwindSafe for ExternalBlas64Backend
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
§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
fn rand<T>(&self, rng: &mut (impl Rng + ?Sized)) -> Twhere
Self: Distribution<T>,
impl<T, U> Imply<T> for U
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