Skip to content

Commit d1e80fb

Browse files
Address review comments
OpenMP standard -> OpenMP API specify corner cases for atomic, threadprivate Nit spellings
1 parent d8b57ea commit d1e80fb

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

flang/docs/OpenMPStandardsSupport.md renamed to flang/docs/OpenMPSupport.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,25 @@
66
77
-->
88

9-
# Flang OpenMP Standards Support
9+
# Flang OpenMP Support
1010

1111
```{contents}
1212
---
1313
local:
1414
---
1515
```
1616

17-
This document summarizes OpenMP standards support in Flang. The information is only provided as a guideline. The
18-
TODOs/Not Yet Implemented messages emitted by the compiler for unimplemented features should be treated as authoritative.
19-
As of March 2025, standards support is provided upto OpenMP 4.0. We are actively working towards supporting OpenMP 4.5, OpenMP 5.* and OpenMP 6.0.
17+
This document outlines the OpenMP API features supported by Flang. It is intended as a general reference.
18+
For the most accurate information on unimplemented features, rely on the compiler’s TODO or “Not Yet Implemented”
19+
messages, which are considered authoritative. Flang provides full support for OpenMP 3.1 and partial support for
20+
OpenMP 4.0. The table below details the current support for OpenMP 4.0 features. Work is ongoing to add support
21+
for OpenMP 4.5 and newer versions; an official support statement for these will be shared in the future.
2022

21-
The standards support information is provided as a table with three columns that are self explanatory. The Status column uses
23+
The feature support information is provided as a table with three columns that are self explanatory. The Status column uses
2224
the letters **P**, **Y**, **N** for the implementation status:
23-
- **P** : When the implementation is incomplete for a few cases
24-
- **Y** : When the implementation is complete
25-
- **N** : When the implementation is absent
25+
- **P** : Partial. When the implementation is incomplete for a few cases
26+
- **Y** : Yes. When the implementation is complete
27+
- **N** : No. When the implementation is absent
2628

2729
Note : No distinction is made between the support in Parser/Semantics, MLIR, Lowering or the OpenMPIRBuilder.
2830

@@ -59,4 +61,4 @@ Note : No distinction is made between the support in Parser/Semantics, MLIR, Low
5961
| target teams distribute parallel loop simd construct | P | |
6062

6163
## OpenMP 3.1, OpenMP 2.5, OpenMP 1.1
62-
All features except a few corner cases in atomic, copyin constructs/clauses are supported
64+
All features except a few corner cases in atomic (complex type, different but compatible types in lhs and rhs), threadprivate (character type) constructs/clauses are supported.

0 commit comments

Comments
 (0)