clMathLibraries / clSPARSE

a software library containing Sparse functions written in OpenCL
Apache License 2.0
173 stars 60 forks source link

CSR matrix format stores in a file #216

Open mehdiBabamehdi opened 4 years ago

mehdiBabamehdi commented 4 years ago

I want to use sample-spmv.cpp benchmark and in the code, sparse matrix should be read from a file, which is mentioned that it should be "CSR fromat" but there is not anything what it means, i.e. how data stores in a file which is CSR fromat. I know that CSR format store non-zero elements of a matrix A and two auxiliary matrix which in first column number of each non-zero element, and the second one contains pointers to start of rows. now, how this three matrix stores in a file which is called "CSR file format" read in by clsparseSCsrMatrixfromFile function