Hi, > PS > (4) column indices admit out-of-order placements of elements within each > row.
Column indices *have* to be in ascending order for sparse matrix-matrix multiplication. Best regards, Karli > > Thank you. > -Dmitriy > > On Fri, Jul 22, 2016 at 12:56 PM, Dmitriy Lyubimov <dlie...@gmail.com > <mailto:dlie...@gmail.com>> wrote: > > I think I still am getting seg faults on attempt to multiply > matrices even without conversion back (larger arguments, 3k x 1k) > > I re-wrote another alternative transformation procedure and see > nothing wrong with it. Both Andrew's code and mine fail with the > same symptoms. > > Karl, can we verify assumptions about the format: > > (1) the compressed_marix.set method expects host memory pointers. > (2) the format is compressed row storage (CSR). Documentation never > says explicitly that, and actually seems to have errors in size of > elements and jumper arrays (it says jumper array has to be cols+1 > long wheres in CSR it shoud actually be rows + 1 long, right? ) > (3) the element sizes of jumper and column indices arrays are 32 bit > and are in little endian order (at least for the open MP backend). > > Right now I can't even get open mp sparse multiplication work > although CSR format is not rocket science at all. Don't see a > problem anywhere. Tried to read Vienna's code to converm the > assumptions above, but this seems to be pretty elusive for the time > being. > ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev _______________________________________________ ViennaCL-devel mailing list ViennaCL-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/viennacl-devel