PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Does OpenACC support this kind of data stucture ?

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming
View previous topic :: View next topic  
Author Message
Teslalady



Joined: 16 Mar 2012
Posts: 75

PostPosted: Tue Jul 03, 2012 1:59 am    Post subject: Does OpenACC support this kind of data stucture ? Reply with quote

I know CUDA fortran did not support the data structure consisting of dynamic pointers ,such as below:

type A_type

real,pointer:: a1(:,:)

end A_type

type B_type

type(A_type),pointer:b1(:)

end type B_type

type(B_type),pointer::c1(:)


I know CUDA Fortran could not use such data structrue as C1.My question is whether OpenACC could support this kind of structure?
because in many cases, this kind of structure is fexible and could save more memery
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 5952
Location: The Portland Group Inc.

PostPosted: Tue Jul 03, 2012 10:11 am    Post subject: Reply with quote

Hi Teslalady,

No, not yet. Currently only fixed size types are allowed. We are in the process of adding this support, though, I don't have a firm time line on when it will be available.

- Mat
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