Alexey A. Romanenko
Joined: 17 Feb 2012 Posts: 31
|
Posted: Thu Jul 26, 2012 10:59 pm Post subject: host_data directive in PGI 12.6 |
|
|
Hi all!
what does "TBD" mean refer to "!$acc host_data" at http://www.pgroup.com/resources/accel.htm#spec?
Attempts to compile simple program result in the following error message
| Code: | | PGF90-S-0155-A data clause for a variable appears within another region with a data clause for the same variable a |
Program
| Code: | PROGRAM main
INTEGER :: a(1024)
!$acc data copy(a)
! <Populate a(:) on device as before>
!$acc host_data use_device(a)
CALL dbl_cuda(a)
!$acc end host_data
!$acc end data
END PROGRAM main |
WBR,
Alexey |
|