Skip to content

[MRG+1] Use openmp flags for all cython extensions - #13252

Merged
jnothman merged 3 commits into
scikit-learn:masterfrom
jeremiedbb:remove-openmp-extensions
Feb 28, 2019
Merged

jnothman merged 3 commits into
scikit-learn:masterfrom
jeremiedbb:remove-openmp-extensions

Conversation

@jeremiedbb

Copy link
Copy Markdown
Member

I propose to use the OpenMP flags for all cython extensions instead of manually specifying the ones that actually use it. It's just too easy to forget to add them :)
And the flag has just no effect when there's no OpenMP stuff in an extension.

@ogrisel

ogrisel commented Feb 26, 2019

Copy link
Copy Markdown
Member

I am fine with this: +0 on my side.

@NicolasHug NicolasHug left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Very easy to forget to add the files: you think your code is parallel, but it's not and there's no way to tell until you look at your CPU usage.

@agramfort agramfort changed the title [MRG] Use openmp flags for all cython extensions [MRG+1] Use openmp flags for all cython extensions Feb 28, 2019
@jnothman
jnothman merged commit f652b95 into scikit-learn:master Feb 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
koenvandevelde pushed a commit to koenvandevelde/scikit-learn that referenced this pull request Jul 12, 2019
@jeremiedbb
jeremiedbb deleted the remove-openmp-extensions branch September 3, 2026 16:08
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.

5 participants