[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4284: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4286: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4287: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4288: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
CULA • View topic - Help: Least Squares function not working as expected.

Help: Least Squares function not working as expected.

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

Help: Least Squares function not working as expected.

Postby calderov » Tue Feb 05, 2013 3:19 pm

Last edited by calderov on Wed Feb 06, 2013 9:26 pm, edited 1 time in total.
calderov
 
Posts: 2
Joined: Wed Jan 16, 2013 12:00 pm

Re: Help: Least Squares function not working as expected.

Postby john » Wed Feb 06, 2013 7:14 am

You shouldn't break on first-chance exceptions. You'll likely be flagging internal exceptions that are not actually errors. Both CUDA and CULA will appear as first-chance.

Since you are solving a linear system, you should use culaSgesv() rather than culaSgels().
john
Administrator
 
Posts: 587
Joined: Thu Jul 23, 2009 2:31 pm

Re: Help: Least Squares function not working as expected.

Postby calderov » Fri Feb 08, 2013 8:57 am

calderov
 
Posts: 2
Joined: Wed Jan 16, 2013 12:00 pm

Re: Help: Least Squares function not working as expected.

Postby john » Fri Feb 08, 2013 11:22 am

Yep, I can confirm this - you've overrun single precision. You'll get the right answer in double.
john
Administrator
 
Posts: 587
Joined: Thu Jul 23, 2009 2:31 pm


Return to CULA Dense Support

Who is online

Users browsing this forum: No registered users and 0 guests

cron