Hi,
I am getting errors while try to copy data.
In my fortran code, I have a data type defined like this:
type node
integer(4) :: id
real(dp), allocatable :: pos(:)
real(dp), allocatable :: veloc(:)
real(dp), allocatable :: accel(:)
end type node
I got this error:
Lowering Error: bad ast optype in expression [ast=1438,asttype=12,datatype=0]
while try to copy data into device memory:
!$acc data copyin(nodes(:)%pos(:))
How to copy this kind of data?
Thanks,
Guanfeng