Sparse Matrix with CUDA.jl

Thank you very much for your comprehensive answer. However, it does not seem trivial to convert CartesianIndex in a CSC format. But may be I am wrong?

Here is a proposal to do so, that uses the sparse method from SparseArrays

but as you mentioned in an other post we miss the sparse method for CuSparseMatricCSC