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

Open mp support for launch_umat (simcoon mat for fedoo) #8

Merged
merged 9 commits into from
Jun 13, 2024
Merged

Conversation

chemiskyy
Copy link
Member

This PR add support for openMP multithreading.

  • transfer ownership of python arrays to armadillo objects (using std::move)
  • managing the GIL
  • use unsafe_col to avoid unnecessary copies
  • parallelize the for loop

@chemiskyy chemiskyy merged commit edbd126 into master Jun 13, 2024
3 checks passed
@chemiskyy chemiskyy deleted the openMP branch June 13, 2024 14:48
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.

2 participants