openblas-src icon indicating copy to clipboard operation
openblas-src copied to clipboard

Create an openblas-sys crate for OpenBLAS-specific APIs

Open termoshtt opened this issue 4 years ago • 2 comments

As used in example code https://github.com/maoe/openblas-src/blob/print-config-fix/openblas-src/examples/config.rs to check OpenBLAS version for #60. This will be helpful in several context, and it worth including to openblas-src crate.

termoshtt avatar Apr 02 '21 17:04 termoshtt

This calls for introducing openblas-sys, as it would be inappropriate to put this in any other -sys crates.

IvanUkhov avatar Apr 02 '21 17:04 IvanUkhov

It makes sense. OpenBLAS has several special functions

  • openblas_get_parallel
  • openblas_get_num_procs
  • openblas_set_num_threads
  • openblas_get_num_threads
  • openblas_get_config - openblas_get_corename

and these could be useful for tuning OpenBLAS behavior at the end user level.

termoshtt avatar Apr 02 '21 18:04 termoshtt