PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

CUDA Fortran aggregate data types

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



Joined: 12 Jan 2010
Posts: 1

PostPosted: Thu Jan 21, 2010 6:33 am    Post subject: CUDA Fortran aggregate data types Reply with quote

Hello!

A CUDA kernel call is limited to a size of 256 bytes. In C for CUDA a struct of pointers to the data can be constructed as a workaround if too many arguments are needed. I was trying to implement a similar approach in CUDA Fortran, but the compiler does not seem to recognize the aggregate type.

Is there no support for aggregate types in CUDA Fortran?

Thanks,

Volker Weichert
Back to top
View user's profile
mkcolg



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

PostPosted: Thu Jan 21, 2010 1:19 pm    Post subject: Reply with quote

Hi Volker,

Quote:
Is there no support for aggregate types in CUDA Fortran?

CUDA Fortran does support derived types so I'm not sure what problem you're encountering. Can you post a sample code that shows the issue?

Thanks,
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