PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

explain output
Goto page Previous  1, 2
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming
View previous topic :: View next topic  
Author Message
mkcolg



Joined: 30 Jun 2004
Posts: 6210
Location: The Portland Group Inc.

PostPosted: Wed Feb 20, 2013 4:51 pm    Post subject: Reply with quote

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
View user's profile
Alexey A. Romanenko



Joined: 17 Feb 2012
Posts: 36

PostPosted: Fri Feb 22, 2013 12:56 am    Post subject: Reply with quote

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
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6210
Location: The Portland Group Inc.

PostPosted: Fri Feb 22, 2013 9:18 am    Post subject: Reply with quote

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
View user's profile
Alexey A. Romanenko



Joined: 17 Feb 2012
Posts: 36

PostPosted: Sun Feb 24, 2013 8:12 pm    Post subject: Reply with quote

Hi Mat!

You are right, I have "-w" option. Thank you.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming All times are GMT - 7 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group