We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aaae621 commit 2230e3dCopy full SHA for 2230e3d
flang/test/Semantics/OpenMP/taskloop04.f90
@@ -0,0 +1,15 @@
1
+! When lowering Taskloop, it is possible for the TileSizes clause to be lowered, but this is not a supported clause.
2
+! We should make sure that any use of Tilesizes with Taskloop is correctly rejected by the Semantics.
3
+! RUN: %python %S/../test_errors.py %s %flang -fopenmp
4
+
5
+subroutine test
6
+ integer :: i, sum
7
8
+ !ERROR: TILE cannot follow TASKLOOP
9
+ !ERROR: SIZES clause is not allowed on the TASKLOOP directive
10
+ !$omp taskloop tile sizes(2)
11
+ do i=1,10
12
+ sum = sum + i
13
+ end do
14
+ !$omp end taskloop
15
+end subroutine
0 commit comments