Hi everyone!
Where can I find information about this error
PGF90-S-0310-Automatic arrays are not allowed in a MODULE
There is no particular information about it in the link below
https://www.pgroup.com/resources/docs/18.7/x86/pgi-ref-guide/index.htm#messages
I got the message whit the following array declaration in my module.
real, constant :: d(10)
I found this info in the net
GPU data in modules must have fixed size or be allocatable:
module mm
real, device, allocatable :: a(:)
real, device :: x, y(10)
real, constant :: c1, c2(10)
integer, device :: n
contains
attributes(global) subroutine s( b )
…
â—�
Variable or array declaration could also have “constant� attribute,
denoting GPU constant memory
Why am I not allowed to use?