rstsr-cblas-base 0.1.1

CBLAS enums and blas_int, lapack_int definition
Documentation
  • Coverage
  • 5.26%
    1 out of 19 items documented0 out of 5 items with examples
  • Size
  • Source code size: 3.21 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.63 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 12s Average build duration of successful builds.
  • all releases: 12s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • RESTGroup/rstsr-ffi
    1 1 1
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • ajz34

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_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.

Cargo feature

  • 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