I have a derived type which has a parameter p. This p represents a 3D array. I would like to copy this directly into a data region as so:
!$acc data region copyin(b%p(1:n,1:n,1:n))
But I get a syntax error on compilation. Is there any way to do this that avoids just copying b%p into an allocatable array and copying this new array in? Could I copy a pointer to the array in?