-
Notifications
You must be signed in to change notification settings - Fork 229
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
compiler: Keep -qopenmp by default after icx 2023.2 #2164
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2164 +/- ##
==========================================
- Coverage 87.04% 87.04% -0.01%
==========================================
Files 223 223
Lines 39957 39962 +5
Branches 7295 7300 +5
==========================================
+ Hits 34781 34784 +3
- Misses 4597 4598 +1
- Partials 579 580 +1
|
80443f9
to
12180b3
Compare
devito/arch/compiler.py
Outdated
if language == 'openmp': | ||
# Since OneAPI 2023.2.0 (clang17 underneath), we can use '-qopenmp' | ||
# for all our tests | ||
if self.version >= Version('17.0.0') and language == 'openmp': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isn't this doing the opposite of what the comment says?
also, if you are to change this (maybe not, maybe I misunderstood...), could you drop "for all our tests" which doesn't mean much? what you should have said is that earlier versions have an OpenMP bug. The bug is in their compilers, it doesn't have anything to do with our tests (I mean, not directly)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah sorry, you are right thanks!
12180b3
to
9d8e53b
Compare
Passes locally
After icx 2023.2.0, reductions should are passing