Does OpenACC support this kind of data stucture ?

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

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