Hi,
I am trying to use the async clause for data region, but I haven’t been able to compile so far. Here is a test program:
program test
integer :: i,j
integer(4) :: iacc
real :: a(100,60)
!$acc local(a)
DO j=1,60
!$acc region async
DO i=1,100
a(i,j)=1+i**2+j**2
END DO
!$acc end region
END DO
!$acc wait
!$acc update host(a)
print*, sum(a)
end program test
I though this should be valid according to the v1.3 documentation but I am getting the following error when I compile:
PGF90-S-0034-Syntax error at or near identifier async (test.f90: 8)
PGF90-S-0034-Syntax error at or near end of line (test.f90: 16)
Thanks for your help,
Xavier
PS : I am using pgi 11.3