| View previous topic :: View next topic |
| Author |
Message |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Wed Feb 20, 2013 4:51 pm Post subject: |
|
|
Hi Alexey,
Parameter arrays get initialized on the device so don't need be copied. You should have seen a warning during compilation:
| Quote: | | PGF90-W-0155-Constant or Parameter used in data clause - |
I think what you might be seeing is the section descriptions for the arrays being copied over. The arrays themselves should already be on the device.
It's a a lot of output, but you can set the environment variable "PGI_ACC_DEBUG=1" to see every device call. It might shed some light what variables are being copied.
- Mat |
|
| Back to top |
|
 |
Alexey A. Romanenko
Joined: 17 Feb 2012 Posts: 31
|
Posted: Fri Feb 22, 2013 12:56 am Post subject: |
|
|
Hi Mat,
I don't see this warning. I use
| Code: | $ pgfortran -V
pgfortran 13.2-0 32-bit target on x86 Linux -tp nehalem
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2013, STMicroelectronics, Inc. All Rights Reserved. |
What option should I add? I use "-Minfo" |
|
| Back to top |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Fri Feb 22, 2013 9:18 am Post subject: |
|
|
Do you have the "-w" flag on your compile line? "-w" disables warning messages so could be why you don't see it. Otherwise, I'm not sure and will need a reproducing example to better understand what's going on.
- Mat |
|
| Back to top |
|
 |
Alexey A. Romanenko
Joined: 17 Feb 2012 Posts: 31
|
Posted: Sun Feb 24, 2013 8:12 pm Post subject: |
|
|
Hi Mat!
You are right, I have "-w" option. Thank you. |
|
| Back to top |
|
 |
|