PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Common blocks in OpenMP
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming
View previous topic :: View next topic  
Author Message
dcwarren



Joined: 18 Jun 2012
Posts: 29

PostPosted: Thu Mar 14, 2013 9:59 am    Post subject: Reply with quote

After a day and a half, I've learned something important:

Make sure your CRITICAL regions have only one point of entry and exit.

I enclosed a goto statement within a critical region, and when the code hit the goto it exited the critical region but didn't lift the barrier. So the next time the code hit that region it froze without an explicit reason.

This has nothing to do with my array bounds issue, which still exists (I've used "default(none)" for data declarations and get no errors at compilation). But at least I've learned something about OpenMP these last two days.
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, 3
Page 3 of 3

 
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 © 2001, 2002 phpBB Group