Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create an openblas-sys crate for OpenBLAS-specific APIs #67

Open
termoshtt opened this issue Apr 2, 2021 · 2 comments
Open

Create an openblas-sys crate for OpenBLAS-specific APIs #67

termoshtt opened this issue Apr 2, 2021 · 2 comments

Comments

@termoshtt
Copy link
Member

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.

@IvanUkhov
Copy link
Member

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

@termoshtt
Copy link
Member Author

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 termoshtt changed the title FFI for openblas_get_config openblas-sys crate for OpenBLAS-specific APIs Apr 2, 2021
@IvanUkhov IvanUkhov changed the title openblas-sys crate for OpenBLAS-specific APIs Create an openblas-sys crate for OpenBLAS-specific APIs Jul 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants