In case atomic reduction method is not available (the compiler can't generate it) the assertion failure occurred if KMP_FORCE_REDUCTION=atomic was specified.
This change replaces the assertion with a warning and sets the reduction method to the default one - 'critical'.
Details
Details
- Reviewers
jlpeyton tlwilmar AndreyChurbanov - Commits
- rG5c32d5ef0d6c: Use 'critical' reduction method when 'atomic' is not available but requested.
rOMP280519: Use 'critical' reduction method when 'atomic' is not available but requested.
rL280519: Use 'critical' reduction method when 'atomic' is not available but requested.
Diff Detail
Diff Detail
- Repository
- rL LLVM