[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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/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/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/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/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/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/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 - sgesv in 1.1 is slow...

sgesv in 1.1 is slow...

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

Re:sgesv in 1.1 is slow...

Postby john » Sat Feb 13, 2010 12:27 pm

john
Administrator
 
Posts: 587
Joined: Thu Jul 23, 2009 2:31 pm

Re:sgesv in 1.1 is slow...

Postby zatak » Mon Feb 15, 2010 7:48 am

zatak
 
Posts: 1
Joined: Sat Jan 16, 2010 11:29 am

Re:sgesv in 1.1 is slow...

Postby Boxed Cylon » Tue Feb 16, 2010 12:38 am

The suggestion is interesting - perhaps Matlab's memory management is really the issue. I think I understand the suggestion of separating the code from the mex file as much as possible, but I'm not sure I would know how to do that (or willing to work through the revisions to my code...).

Here is a graph showing what I am getting. I've posted the code and matlab script to generate this earlier in this thread. It compares matlab and culaDeviceSgesv solution using A*X=B for A NXN and B NX5000. These matrices are filled using "randn". I used the host-based culaSgesv as well, with the same result. I've verified that all the compute time is in the single call to "status = culaDeviceSgesv(L,I,ga,L,ipiv,gb,L);", rather than, e.g., host-device copies. I run the code setting maxNumCompThreads(1); at the top of the matlab script so it is using a single cpu - an AMD Phenom II X4 965 Processor in this case, compared to a GTX260.

This result does not agree with the direct CULA benchmark test, of course.

Image
Boxed Cylon
 
Posts: 48
Joined: Fri Oct 16, 2009 8:57 pm

Re:sgesv in 1.1 is slow...

Postby cjest » Tue Feb 16, 2010 1:15 am

Dear Zatak

Cula’s CELS is not faster than MKL, when i am running the cula’s example benchmark, and i think it would be much slower if data comes from Matlab. but 10x speed ups from a mex file sounds great. What is the matrix sizes you are have?

I’ve tried to have same try with GESV, but my Matlab crashes each time. Do you have memory allocating twice for each array, ones with mxMalloc and another by calloc and copy the fist one to the second one?

perhaps i didn't understand the approach well.
cjest
 
Posts: 12
Joined: Wed Feb 10, 2010 3:01 pm

Re:sgesv in 1.1 is slow...

Postby john » Tue Feb 16, 2010 8:54 am

john
Administrator
 
Posts: 587
Joined: Thu Jul 23, 2009 2:31 pm

Re:sgesv in 1.1 is slow...

Postby cjest » Wed Feb 17, 2010 12:49 am

cjest
 
Posts: 12
Joined: Wed Feb 10, 2010 3:01 pm

Re:sgesv in 1.1 is slow...

Postby dan » Wed Feb 17, 2010 9:32 am

dan
Administrator
 
Posts: 61
Joined: Thu Jul 23, 2009 2:29 pm

Re:sgesv in 1.1 is slow...

Postby cjest » Thu Feb 18, 2010 2:50 am

cjest
 
Posts: 12
Joined: Wed Feb 10, 2010 3:01 pm

Re:sgesv in 1.1 is slow...

Postby jpmig313 » Thu Feb 18, 2010 6:30 am

jpmig313
 
Posts: 7
Joined: Sat Dec 26, 2009 6:04 am

Re:sgesv in 1.1 is slow...

Postby Boxed Cylon » Thu Feb 18, 2010 3:21 pm

Boxed Cylon
 
Posts: 48
Joined: Fri Oct 16, 2009 8:57 pm

Re:sgesv in 1.2 is also slow...

Postby jpeinado » Fri Feb 26, 2010 2:25 am

jpeinado
 
Posts: 37
Joined: Mon Sep 14, 2009 10:48 am

Re:sgesv in 1.2 is also slow...

Postby john » Fri Feb 26, 2010 2:34 pm

john
Administrator
 
Posts: 587
Joined: Thu Jul 23, 2009 2:31 pm

Re:sgesv in 1.2 is also slow...

Postby cjest » Sun Feb 28, 2010 1:36 pm

cjest
 
Posts: 12
Joined: Wed Feb 10, 2010 3:01 pm

Re:sgesv in 1.2 is also slow...

Postby jpeinado » Mon Mar 01, 2010 7:24 am

jpeinado
 
Posts: 37
Joined: Mon Sep 14, 2009 10:48 am

Re:sgesv in 1.1 is slow...

Postby dan » Tue Mar 02, 2010 10:21 am

dan
Administrator
 
Posts: 61
Joined: Thu Jul 23, 2009 2:29 pm

PreviousNext

Return to CULA Dense Support

Who is online

Users browsing this forum: No registered users and 4 guests

cron