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

Omp #324

Draft
wants to merge 33 commits into
base: main
Choose a base branch
from
Draft

Omp #324

wants to merge 33 commits into from

Conversation

lukeolson
Copy link
Member

@lukeolson lukeolson commented Mar 23, 2022

This start adding OpenMP support

  • sparse.csr() is added to call an OpenMP SpMV in sparse.h when openmp=True is added to the .solve() phase
  • The approach should work with and without OpenMP support
  • setup.py takes the simple approach of attempting two different compiler flags.
  • On testing:
    • a test on the SpMV in util/tests/test_sparse.py
    • builds with/without OpenMP should be added to CI

@codecov-commenter
Copy link

codecov-commenter commented Mar 23, 2022

We're currently processing your upload. This comment will be updated when the results are available.

@lukeolson
Copy link
Member Author

Thanks @jbschroder.

I'm trying get set some consistent OpenMP flags with extension-helpers. Then I'll merge.

astropy/extension-helpers#40

@lukeolson
Copy link
Member Author

getspams/spams-python#18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants