PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

Launch fails for sparse matrix-vector multiplication
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: 6218
Location: The Portland Group Inc.

PostPosted: Mon Aug 02, 2010 10:04 am    Post subject: Reply with quote

Hi Tim,

Customer support forwarded me you code. There's a number of coding errors and I'll send you back my changes to your 'main.c' file.

The above error is cause by 'index' being too small. The values of 'j' go from 0 to nnz-1, not 0 to n-1. Hence, index should be 'index[0:nnz-1]".

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



Joined: 12 Jul 2010
Posts: 12

PostPosted: Tue Aug 03, 2010 1:34 am    Post subject: Reply with quote

Hi Mat,

thanks. I wrote you an mail again. Unfortunately, this solves the problem only for the small test cases. For the big data sample I still get the 'Launch failed' error...
Back to top
View user's profile
mkcolg



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

PostPosted: Tue Aug 03, 2010 10:24 am    Post subject: Reply with quote

Hi Tim,

This one looks like a compiler error in 10.6. It runs fine for me when using 10.5 and the 10.8 release candidate. Unfortunately, there were a number of issues with 10.6 so if you can move back to using 10.5 or wait a few days til 10.8 is released, that would be great.

Thanks,
Mat
Back to top
View user's profile
rztim



Joined: 12 Jul 2010
Posts: 12

PostPosted: Wed Aug 04, 2010 1:56 am    Post subject: Reply with quote

Hi Mat,

thanks for you quick help. I will go back to 10.5 until the new release.

Cheers,
Tim
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