rstsr_openblas/driver_impl/
mod.rs

1pub mod cblas;
2
3#[cfg(not(feature = "lapacke"))]
4pub mod lapack;
5#[cfg(feature = "lapacke")]
6pub mod lapacke;
7
8use crate::DeviceBLAS;
9use duplicate::duplicate_item;
10use num::Complex;
11use rstsr_blas_traits::prelude::*;
12
13impl<T> BlasDriverBaseAPI<T> for DeviceBLAS where T: BlasFloat<Real: BlasFloat> {}
14
15#[duplicate_item(T; [f32]; [f64]; [Complex<f32>]; [Complex<f64>])]
16impl BlasDriverAPI<T> for DeviceBLAS {}
17
18#[duplicate_item(T; [f32]; [f64]; [Complex<f32>]; [Complex<f64>])]
19impl LapackDriverAPI<T> for DeviceBLAS {}