Expand description
§Basic blas_int, lapack_int definition and CBLAS enums
This crate serves as the very elementary definitions for all BLAS distributions (controlled by cargo feature ilp64):
blas_intfor BLAS integers (used for dimensions)lapack_intfor LAPACK integers (used for dimensions, flags and integer scratchsiwork)
This crate also defines CBLAS enums.
§Cargo feature
ilp64: control number of bits ofblas_intandlapack_int.lp64_as_int: usecore::ffi::c_intinstead ofi32as integer of LP64 scheme.
Both cargo features are not enabled by default.
| Scheme | ilp64 | lp64_as_int | Integer Type |
|---|---|---|---|
| LP64 | No | No | i32 |
| LP64 | No | Yes | core::ffi::c_int |
| ILP64 | Yes | Ignored | i64 |
Re-exports§
pub use CBLAS_LAYOUT as CBLAS_ORDER;