Open GoogleCodeExporter opened 8 years ago
I have determined the solution to the bug, however do not know how to
contribute to cusp.
In $[include-dir]/cusp/detail/device/spmv/dia.h, change
Line:92 "IndexType idx = row + pitch * base;" -> "IndexType idx = row * pitch +
base;"
Line:104 "idx += pitch;" -> "idx++;"
Original comment by gjhersch...@gmail.com
on 23 Jan 2014 at 8:40
There is no bug - diagonal sparse matrices are documented as having their
values stored in column-major ordering. Attempting to enforce row major
ordering was the source of the problem.
Original comment by gjhersch...@gmail.com
on 19 Feb 2014 at 5:31
Original issue reported on code.google.com by
gjhersch...@gmail.com
on 23 Jan 2014 at 6:37Attachments: