bugGNU Octave - Bugs: bug #63015, sparse disables openblas threading

 
 

bug #63015: sparse disables openblas threading

Submitter:  None
Submitted:  Sun 04 Sep 2022 09:49:32 PM UTC
   
 
Category:  Performance Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Performance
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 7.2.0
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 05 Sep 2022 07:42:40 AM UTC, comment #1: 

OpenBLAS does not work with sparse matrices.
If you like to use OpenBLAS, you need to use full matrices.

Closing as invalid.

Markus Mützel <mmuetzel>
Group administrator
Sun 04 Sep 2022 09:49:32 PM UTC, original submission:  


A = zeros (25e3, 25e3);
A(randi (numel(A), 1, 5e4)) = 1;
B = sparse (A);

tic
R = A^29;
toc

tic
S = B^29;
toc


A^29 uses all the cores available to OpenBlas.

B^29 disables that and uses only one core, so it takes (number of cores) as long to do it.

Can sparse not disable OpenBlas threading?

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-09-05 mmuetzel StatusNone Invalid / Not an Octave Bug
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code