repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* function.c (dump_stack_clash_frame_info): New function.
[official-gcc.git]
/
libgomp
/
testsuite
/
libgomp.oacc-fortran
/
collapse-3.f90
blob
50e6100a1a0f09808a132cbc96d61d24f4a33853
1
! { dg-do run }
2
3
program
collapse3
4
integer
::
a
(
3
,
3
,
3
),
k
,
kk
,
kkk
,
l
,
ll
,
lll
5
!$acc parallel
6
!$acc loop collapse(3)
7
do
115
k
=
1
,
3
8
dokk
:
do
kk
=
1
,
3
9
do
kkk
=
1
,
3
10
a
(
k
,
kk
,
kkk
) =
1
11
enddo
12
enddo
dokk
13
115
continue
14
!$acc end parallel
15
if
(
any
(
a
(
1
:
3
,
1
:
3
,
1
:
3
).
ne
.1
))
call
abort
16
17
!$acc parallel
18
!$acc loop collapse(3)
19
dol
:
do
120
l
=
1
,
3
20
doll
:
do
ll
=
1
,
3
21
do
lll
=
1
,
3
22
a
(
l
,
ll
,
lll
) =
2
23
enddo
24
enddo
doll
25
120
end do
dol
26
!$acc end parallel
27
if
(
any
(
a
(
1
:
3
,
1
:
3
,
1
:
3
).
ne
.2
))
call
abort
28
end program
collapse3