R14 pcula_Sgemm...

General CULA Dense (LAPACK & BLAS) support and troubleshooting. Use this forum if you are having a general problem or have encountered a bug.

R14 pcula_Sgemm...

Postby modelsciences » Thu Jun 07, 2012 12:46 pm

This is really about the error I am getting:

on culaStatus == culaArgumentError
culaGetErrorInfo() returns -2

This AFIAK should tell me which argument is wrong: -2 seems a bit of an odd one...
unless we are counting backwards from the end :-)

Any ideas?

-- Simon
modelsciences
CULA Premium
 
Posts: 12
Joined: Tue Jun 28, 2011 4:42 am

Re: R14 pcula_Sgemm...

Postby kyle » Thu Jun 07, 2012 3:51 pm

This is the LAPACK/BLAS standard that is mostly a relic from the Fortran roots. Negative error codes are argument errors, positive error codes are data errors.
kyle
Administrator
 
Posts: 301
Joined: Fri Jun 12, 2009 7:47 pm

Re: R14 pcula_Sgemm...

Postby modelsciences » Thu Jun 07, 2012 4:01 pm

LAPACK as an API seems like a relic for sure. Thanks for the tip - so I'll take a close look at arg 2 :-) now is that 1 or 0 based and do we count the pcula context? I guess not.

-- Simon
modelsciences
CULA Premium
 
Posts: 12
Joined: Tue Jun 28, 2011 4:42 am

Re: R14 pcula_Sgemm...

Postby modelsciences » Fri Jun 08, 2012 4:50 am

Well the answer was that this LAPACK seems case sensitive as to the N|T flags - n|t will not do!
This is a new on me - I have always used lowercase flags before!

BTW the parameter numbering starts from 1 (or -1) and DOES include the pculaConfig* argument.

-- Simon
modelsciences
CULA Premium
 
Posts: 12
Joined: Tue Jun 28, 2011 4:42 am

Re: R14 pcula_Sgemm...

Postby kyle » Fri Jun 08, 2012 4:59 am

Remember R14's pCULA is very much in an early ALPHA state. Bugs should be expected!

That being said, the current internal version (R15) has vastly improved stability, speed, and scalability.
kyle
Administrator
 
Posts: 301
Joined: Fri Jun 12, 2009 7:47 pm

Re: R14 pcula_Sgemm...

Postby modelsciences » Fri Jun 08, 2012 6:22 am

We'll be ready for R15 :-) I am just prototyping some new codes that will really leverage this approach to multi-gpu.

Keep up the good work!

-- Simon
modelsciences
CULA Premium
 
Posts: 12
Joined: Tue Jun 28, 2011 4:42 am

Re: R14 pcula_Sgemm...

Postby kyle » Fri Jun 08, 2012 1:23 pm

Great! We'd be happy to hear any interfacing/usage feedback/suggestions while we are still working out the details.
kyle
Administrator
 
Posts: 301
Joined: Fri Jun 12, 2009 7:47 pm


Return to CULA Dense Support

Who is online

Users browsing this forum: No registered users and 2 guests

cron