| View previous topic :: View next topic |
| Author |
Message |
weichertv
Joined: 12 Jan 2010 Posts: 1
|
Posted: Thu Jan 21, 2010 6:33 am Post subject: CUDA Fortran aggregate data types |
|
|
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 |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Thu Jan 21, 2010 1:19 pm Post subject: |
|
|
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 |
|
 |
|