PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Run-time error for multi-gpu programming with openmp (pgfort
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
Praveen B K



Joined: 04 Jan 2012
Posts: 6

PostPosted: Thu May 16, 2013 11:34 pm    Post subject: Reply with quote

Dear Mat,
I have sent a note to customer service for follow-up.
Since this is bit critical for us, can you please let us know if there is a workaround or quick fix for this problem.
Keep us posted on this thread.
Back to top
View user's profile
mkcolg



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

PostPosted: Fri May 17, 2013 10:24 am    Post subject: Reply with quote

Hi Praveen,

I added a note and increased the priority. I'll try and keep an eye on it for any updates. Note, I made a typo above. I logged this as TPR#19346, not 19033.

- Mat
Back to top
View user's profile
mkcolg



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

PostPosted: Fri May 17, 2013 12:43 pm    Post subject: Reply with quote

I've had some exchanges with engineering and we found a workaround. Put your kernel launch in a critical section.

Code:

!$OMP CRITICAL
                   call ProcessArray_Kernel_1<<<numOfBlocks, threadsPerBlock>>>(VAR_1_D)
!$OMP END CRITICAL
                   ierr=cudaThreadSynchronize()


Hope this helps,
Mat
Back to top
View user's profile
Praveen B K



Joined: 04 Jan 2012
Posts: 6

PostPosted: Sun May 19, 2013 10:31 pm    Post subject: Reply with quote

Thanks Mat,
Workaround works. But as you know it slows down our performance. Will be waiting for the fix.
Back to top
View user's profile
Praveen B K



Joined: 04 Jan 2012
Posts: 6

PostPosted: Tue Jul 30, 2013 6:42 am    Post subject: Reply with quote

Dear Mat,
Any updates on bug id TPR#19346
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Goto page Previous  1, 2, 3  Next
Page 2 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 © phpBB Group