-
Notifications
You must be signed in to change notification settings - Fork 1k
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
fsort segfault with clang-11 openmp #4808
Conversation
…N and OpenMP too now works for CRAN_Release.cmd
Codecov Report
@@ Coverage Diff @@
## master #4808 +/- ##
=======================================
Coverage 99.47% 99.47%
=======================================
Files 73 73
Lines 14557 14563 +6
=======================================
+ Hits 14481 14487 +6
Misses 76 76
Continue to review full report at Codecov.
|
diff coverage not 100% due to minor changes (e.g. j++ to ++j) on already uncovered lines. Need to revisit all uncovered lines anyway so not holding up this PR due to that. |
Closes #4786
Supports OpenMP<4.5 by attempting regular dynamic schedule, checking if it is monotonic (probably is), and failing gracefully if not.
See comments in code.
By changing the #define in myomp.h to drop the monotonic: modifier (i.e. to be wrong), I confirmed the new check and error message works.