-
Notifications
You must be signed in to change notification settings - Fork 15.2k
[Flang][OpenMP] Add OpenMP standards support doc #132707
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
Changes from 1 commit
c48a921
06f3a9f
d8b57ea
d1e80fb
97343cd
5e07af4
3230516
fc1595e
ea10fef
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,62 @@ | ||||||
| <!--===- docs/FortranStandardsSupport.md | ||||||
|
|
||||||
| Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | ||||||
| See https://llvm.org/LICENSE.txt for license information. | ||||||
| SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||||||
|
|
||||||
| --> | ||||||
|
|
||||||
| # Flang OpenMP Standards Support | ||||||
|
|
||||||
| ```{contents} | ||||||
| --- | ||||||
| local: | ||||||
| --- | ||||||
| ``` | ||||||
|
|
||||||
| This document summarizes OpenMP standards support in Flang. The information is only provided as a guideline. The | ||||||
| TODOs/Not Yet Implemented messages emitted by the compiler for unimplemented features should be treated as authoritative. | ||||||
| Standards support is provided upto OpenMP 4.0 for now. It will be extended later for OpenMP 4.5, OpenMP 5.* and OpenMP 6.0. | ||||||
|
||||||
| Standards support is provided upto OpenMP 4.0 for now. It will be extended later for OpenMP 4.5, OpenMP 5.* and OpenMP 6.0. | |
| As of March 2025, standards support is provided upto OpenMP 4.0. It will be extended later for OpenMP 4.5, OpenMP 5.* and OpenMP 6.0. |
Are we working on support for OpenMP > 4.0? If so, perhaps the second sentence could be rephrased to better reflect this. Perhaps
We are actively working towards supporting OpenMP 4.5, OpenMP 5.* and OpenMP 6.0.
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.
Are we working on support for OpenMP > 4.0?
Yes. Some might be working already. Just that I have not spent time characterising the support.
Your suggestions look good. Have made the change.
Outdated
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.
Might want to explain that this is Yes/No/Partial (presumably)
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.
Done
Outdated
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.
Another optional rephrase (if I understand your intent correctly)
| Note : No distinction is made between the support in the Parser/Semantics, MLIR or Lowering support, and OpenMPIRBuilder support. | |
| Note : No distinction is made between the support in Parser/Semantics, MLIR, Lowering or the OpenMPIRBuilder. |
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.
Done
tblah marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
tblah marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Outdated
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.
I am conservatively marking all target-related constructs (including combined ones) as Partial support. I can correct the entries if they are fully supported.
Outdated
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.
Should these corner cases be made explicit?
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.
Done.
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.
(OpenMP is not a standard in the true sense, like with the ISO standards.)
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.
Would it be OK to go with OpenMP specification?
This document summarizes the supported features of the OpenMP specification in FlangThere 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.
Done.