Hi all!
My name is Ilmir Usmanov and I'm a student of Moscow Institute of Physics and
Technology.
Also I'm implementing OpenACC 1.0 in gomp4 branch as an employee of Samsung R&D
Institute Russia (SRR). My research interests are connected with creating
OpenCL Code Generator.
!$acc end parallel loop
! however in the middle of region
! we need to do something on host
! with this array,
! so we update host copy
!$acc update host(A)
call do_something_on_host(A)
! after that we need to refresh
! device copy of the array
!$acc update device(A)
!$acc parallel loop
do i=1,N
enddo
!$acc end parallel loop
!$acc end data
I'd really appreciated if you provide some comments on it.
--
Regards, Ilmir Usmanov