Hi,
I am quite new to Xcalablemp/acc, and probably I may miss a description.
But, if anyone can tell the following is possible, I would appreciate it.
In Fortran 90, I would like to use an array which is a member of a type.
Namely, something like,
==============
type StructureExample
real(8), allocatable :: realArray(:,:)
end type
type(StructureExample) :: str
allocate(str%realArray(100,100))
===============
In the above example, xmpf90 says "!$xmp align (i,j) with t(i,j) :: str%realArray" is "syntax error".
I can do a similar thing with a normal array without any problem, and without the above pragma, compilation can be done. Thus I suspect "type" is not supported.
Do I understand correctly?
If I am correct and someone knows a quick fix, it would be highly appreciated.
I am using Omini Compiler 1.3.2 with PGI compiler 20.1. ACC is enabled.
Best wishes,