| Crates.io | rstsr-cblas-base |
| lib.rs | rstsr-cblas-base |
| version | 0.1.1 |
| created_at | 2025-07-29 10:38:20.246726+00 |
| updated_at | 2025-07-30 06:34:45.791558+00 |
| description | CBLAS enums and blas_int, lapack_int definition |
| homepage | |
| repository | https://github.com/RESTGroup/rstsr-ffi |
| max_upload_size | |
| id | 1772187 |
| size | 3,695 |
blas_int, lapack_int definition and CBLAS enumsThis crate serves as the very elementary definitions for all BLAS distributions (controlled by cargo feature ilp64):
blas_int for BLAS integers (used for dimensions)lapack_int for LAPACK integers (used for dimensions, flags and integer scratchs iwork)This crate also defines CBLAS enums.
ilp64: control number of bits of blas_int and lapack_int.lp64_as_int: use core::ffi::c_int instead of i32 as 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 |