Bug in magma_scuspmm

Open discussion for MAGMA library (Matrix Algebra on GPU and Multicore Architectures)
Post Reply
Noran
Posts: 27
Joined: Fri Sep 26, 2014 3:47 am

Bug in magma_scuspmm

Post by Noran » Thu Nov 06, 2014 3:54 am

Hello @ all,
i use the sparse matrix multiplication in Magma. Yesterday I implemented a case for that: A*B = C. I multiply 2 matrices A and B. A has 24 rows and columns. B has 24 rows and 3 columns. I wondered when i realized that C is 24 x 24. So i looked in the code from magma_scuspmm and found in line 68 and 69 the following:

Code: Select all

C.num_rows = A.num_rows;
C.num_cols = A.num_cols;
Shouldn't there stand the following?

Code: Select all

C.num_rows = A.num_rows;
C.num_cols = B.num_cols;
Greetings Noran

hartwig anzt
Posts: 90
Joined: Tue Sep 02, 2014 5:44 pm

Re: Bug in magma_scuspmm

Post by hartwig anzt » Thu Nov 06, 2014 6:30 am

Yes - great thanks for pointing that out!

Hartwig

Post Reply