PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

Compiler confusing arrays for functions
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: 6213
Location: The Portland Group Inc.

PostPosted: Thu Aug 23, 2012 1:36 pm    Post subject: Reply with quote

Hi Senya,

"-C" adds bounds checking which is not supported on the device. Please remove this flag.

The reason why removing "-O0" works, is because dead code elimination optimization will remove this code since "H" is never used. Hence the "-Kernel region ignored; no parallel loops" message.

Hope this helps,
Mat
Back to top
View user's profile
Senya



Joined: 20 Jun 2011
Posts: 58

PostPosted: Thu Aug 23, 2012 1:39 pm    Post subject: Reply with quote

Is it possible to make -C option work only for host, when using device code also? Array bounds checking is critical for finding code errors sometimes.
Back to top
View user's profile
mkcolg



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

PostPosted: Thu Aug 23, 2012 3:49 pm    Post subject: Reply with quote

Hi Sayan,

Let me check. Though the person best qualified to answer this is out till Monday.

- Mat
Back to top
View user's profile
jtull



Joined: 30 Jun 2004
Posts: 445

PostPosted: Tue Sep 09, 2014 5:36 pm    Post subject: TPR 18875 is implemented in 14.9 Reply with quote

TPR 18875 - ACC: Add which procedure i spreventing acceleration in -Minfo msg
has been implemented in the 14.9 release.

thanks for the observation.

dave
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