blob: edfe5b67df0a843a714502330f10ca7cd2650c61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
! See also "../../c-c++-common/goacc/loop-3-serial.c".
program test
implicit none
integer :: i
!$acc serial
!$acc loop gang(5) ! { dg-error "argument not permitted" }
DO i = 1,10
ENDDO
!$acc loop gang(num:5) ! { dg-error "argument not permitted" }
DO i = 1,10
ENDDO
!$acc loop worker(5) ! { dg-error "argument not permitted" }
DO i = 1,10
ENDDO
!$acc loop worker(num:5) ! { dg-error "argument not permitted" }
DO i = 1,10
ENDDO
!$acc loop vector(5) ! { dg-error "argument not permitted" }
DO i = 1,10
ENDDO
!$acc loop vector(length:5) ! { dg-error "argument not permitted" }
DO i = 1,10
ENDDO
!$acc end serial
!$acc serial loop gang(5) ! { dg-error "argument not permitted" }
DO i = 1,10
ENDDO
!$acc serial loop gang(num:5) ! { dg-error "argument not permitted" }
DO i = 1,10
ENDDO
!$acc serial loop worker(5) ! { dg-error "argument not permitted" }
DO i = 1,10
ENDDO
!$acc serial loop worker(num:5) ! { dg-error "argument not permitted" }
DO i = 1,10
ENDDO
!$acc serial loop vector(5) ! { dg-error "argument not permitted" }
DO i = 1,10
ENDDO
!$acc serial loop vector(length:5) ! { dg-error "argument not permitted" }
DO i = 1,10
ENDDO
end
|