I’m trying to encapsulate my data in a structure, like so:
type MeshContainer real, dimension(:,:,:,:), allocatable :: data1, data2, data3 end type
Without this type of encapsulation, the number of explicitly mentioned arrays and/or indices in my code is becoming unwieldy.
I try to make that available on the device, but it seems the “%” notation is almost entirely incompatible with OpenACC at this time? Do I have that right?
Can anyone recommend an alternate method both encapsulating multiple dynamically allocatable arrays, and making them available on an accelerator?