PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

wrong values in matrix multiplication

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
kuldeep gupta



Joined: 11 Oct 2011
Posts: 41

PostPosted: Fri Mar 16, 2012 9:49 pm    Post subject: wrong values in matrix multiplication Reply with quote

in the "matrix multiplication" code in CUDA FORTRAN language given in PGI CUDA FORTRAN guide

if i set values of N = 67 , M = 67, L = 1
then it is not giving correct answer.so where it needs modification ?
Back to top
View user's profile
mkcolg



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

PostPosted: Mon Mar 19, 2012 9:06 am    Post subject: Reply with quote

Hi kuldeep gupta,

Quote:
then it is not giving correct answer.

Correct, as the example states just before the source code listing, for simplicity the code assumes the input size is a multiple of 16.

- Mat
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
Page 1 of 1

 
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