PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

host_data directive in PGI 12.6

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming
View previous topic :: View next topic  
Author Message
Alexey A. Romanenko



Joined: 17 Feb 2012
Posts: 36

PostPosted: Thu Jul 26, 2012 10:59 pm    Post subject: host_data directive in PGI 12.6 Reply with quote

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
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group