Skip to content

Commit ea10fef

Browse files
Update target directives using info provided by Kryztof
1 parent fc1595e commit ea10fef

File tree

1 file changed

+22
-21
lines changed

1 file changed

+22
-21
lines changed

flang/docs/OpenMPSupport.md

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!--===- docs/FortranStandardsSupport.md
1+
<!--===- docs/OpenMPSupport.md
22
33
Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
See https://llvm.org/LICENSE.txt for license information.
@@ -21,6 +21,7 @@ offers full support for OpenMP 3.1 ([See details here](#openmp-31-openmp-25-open
2121
Partial support for OpenMP 4.0 is also available and currently under active development.
2222
The table below outlines the current status of OpenMP 4.0 feature support.
2323
Work is ongoing to add support for OpenMP 4.5 and newer versions; a support statement for these will be shared in the future.
24+
The table entries are derived from the information provided in the Version Differences subsection of the Features History section in the OpenMP standard.
2425

2526
The feature support information is provided as a table with three columns that are self explanatory. The Status column uses
2627
the letters **P**, **Y**, **N** for the implementation status:
@@ -35,32 +36,32 @@ Note : No distinction is made between the support in Parser/Semantics, MLIR, Low
3536
| Feature | Status | Comments |
3637
|------------------------------------------------------------|--------|---------------------------------------------------------|
3738
| proc_bind clause | Y | |
38-
| simd construct | P | Some clauses are not supported |
39+
| simd construct | P | linear clause is not supported |
3940
| declare simd construct | N | |
40-
| do simd construct | Y | |
41-
| target data construct | P | |
42-
| target construct | P | |
43-
| target update construct | P | |
41+
| do simd construct | P | linear clause is not supported |
42+
| target data construct | P | device clause not supported |
43+
| target construct | P | device clause not supported |
44+
| target update construct | P | device clause not supported |
4445
| declare target directive | P | |
45-
| teams construct | P | |
46-
| distribute construct | P | |
47-
| distribute simd construct | P | |
48-
| distribute parallel loop construct | P | |
49-
| distribute parallel loop simd construct | P | |
50-
| depend clause | P | Depend clause with array sections are not supported |
46+
| teams construct | P | reduction clause not supported |
47+
| distribute construct | P | dist_schedule clause not supported |
48+
| distribute simd construct | P | dist_schedule and linear clauses are not supported |
49+
| distribute parallel loop construct | P | dist_schedule clause not supported |
50+
| distribute parallel loop simd construct | P | dist_schedule and linear clauses are not supported |
51+
| depend clause | P | depend clause with array sections are not supported |
5152
| declare reduction construct | N | |
5253
| atomic construct extensions | Y | |
5354
| cancel construct | N | |
5455
| cancellation point construct | N | |
55-
| parallel do simd construct | Y | |
56-
| target teams construct | P | |
57-
| teams distribute construct | P | |
58-
| teams distribute simd construct | P | |
59-
| target teams distribute construct | P | |
60-
| teams distribute parallel loop construct | P | |
61-
| target teams distribute parallel loop construct | P | |
62-
| teams distribute parallel loop simd construct | P | |
63-
| target teams distribute parallel loop simd construct | P | |
56+
| parallel do simd construct | P | linear clause is not supported |
57+
| target teams construct | P | device and reduction clauses are not supported |
58+
| teams distribute construct | P | reduction and dist_schedule clauses not supported |
59+
| teams distribute simd construct | P | reduction, dist_schedule and linear clauses are not supported |
60+
| target teams distribute construct | P | device, reduction and dist_schedule clauses are not supported |
61+
| teams distribute parallel loop construct | P | reduction and dist_schedule clauses are not supported |
62+
| target teams distribute parallel loop construct | P | device, reduction and dist_schedule clauses are not supported |
63+
| teams distribute parallel loop simd construct | P | reduction, dist_schedule, and linear clauses are not supported |
64+
| target teams distribute parallel loop simd construct | P | device, reduction, dist_schedule and linear clauses are not supported |
6465

6566
## OpenMP 3.1, OpenMP 2.5, OpenMP 1.1
6667
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)