silx
silx copied to clipboard
[OpenCL] CSR <-> CSC sparse matrix transformation
In the scope of XPCR experiments, it could be interesting to convert a sparse CSR matrix (coming from acquisition) to CSC format where all data for a pixel are contiguously stored. scipy.sparse provides already this transformation which takes a dozen of seconds, which can be used as reference implementation. Doing this GPU can be one of the step of the data reduction