16 lines · plain
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 -fopenmp4 5subroutine test6 integer :: i, sum7 8 !ERROR: TILE cannot follow TASKLOOP9 !ERROR: SIZES clause is not allowed on the TASKLOOP directive10 !$omp taskloop tile sizes(2)11 do i=1,1012 sum = sum + i13 end do14 !$omp end taskloop15end subroutine16