In the cuSPARSE documentation (http://docs.nvidia.com/cuda/cusparse/index.html) it’s written:
“Sparse matrices in CSR format are assumed to be stored in row-major CSR format, in other words, the index arrays are first sorted by row indices and then within the same row by column indices. It is assumed that each pair of row and column indices appears only once.”
So it is said that the inner column index array is supposed to be sorted by column indices. Do you know which cuSPARSE functions require this inner column sorting, and if any of the functions work also with inner column indices in any order?