4 integer, parameter :: n
= 20, c
= 10
5 integer :: i
, a(n
), b(n
)
12 !$acc parallel copy (a(1:n))
29 !$acc parallel copyout (a(1:n))
37 if (a(i
) .ne
. b(i
)) STOP 1
45 !$acc parallel copyout (a(1:n)) copyin (b(1:n))
56 !$acc parallel pcopy (a(1:n))
69 !$acc parallel pcopyout (a(1:n))
82 !$acc parallel pcopyout (a(1:n)) pcopyin (b(1:n))
92 subroutine check (a
, b
, n
)
93 integer :: n
, a(n
), b(n
)
97 if (a(i
) .ne
. b(i
)) STOP 2