Skip to main content
2 votes
1 answer
116 views

I am trying to convert an Eigen Sparse Matrix of size NxN to CuSparse matrix so that I can use CUDA to solver the matrix Ax=B. Came across this thread which is pretty old (Convert Eigen::SparseMatrix ...
pk68's user avatar
  • 83
1 vote
0 answers
48 views

At the moment I'm trying to build a COO using the CUSPARSE library. Looking at the documentation, and the function arguments, the way to create this is using the row and column indices followed by the ...
João Schmidt's user avatar
0 votes
1 answer
223 views

I want to call the sparse matrix multiplication function in cuSPARSE library inside the kernel instead of directly calling it at the host side. I write a __device__ function to implement it.My CUDA is ...
ben286's user avatar
  • 1
-2 votes
1 answer
228 views

Given a std::vector<Eigen::Triplet<double>> its possible to create a Eigen::SparseMatrix<double> using setFromTriplets function. This function, by default, accumulates repeated ...
jjcasmar's user avatar
  • 1,757
0 votes
1 answer
378 views

I want to test the cusparseScsr2csc which is a function used to convert a csr format matrix to a csc format matrix (or just say transpose a csr format matrix), so I write the code below to test it. ...
yys_c's user avatar
  • 55
0 votes
0 answers
60 views

I am building an application with meson that uses NVIDIA cuSPARSE library. Currently, I have to hard code the cusparse version information into the dependency as shown below: cusparse_dep = dependency(...
nahmad's user avatar
  • 41
0 votes
1 answer
279 views

I am updating my CUDA code with sparse matrix multiplication(SPMV). I found the HYB or ELL format sparse matrix related functions in cuSparse 11 are removed. But for my practical problem, HYB format ...
Wei Zhang's user avatar
  • 325
0 votes
1 answer
861 views

I am need to perform transpose of a matrix(CSR) using cuSPARSE, but get “internal error”. I write my code referring to How to transpose a sparse matrix in cuSparse? and https://docs.nvidia.com/cuda/...
hellohawaii's user avatar
  • 3,084
0 votes
1 answer
85 views

cusparse<t>axpyi and cusparse<t>doti are function names in cuSPARSE, the CUDA sparse matrix library. The naming conventions section explains <t> denotes data types, and axpyi, ...
Jing Zhao's user avatar
  • 2,692
0 votes
1 answer
953 views

In the documentation of cuSparse, it stated that the function cusparseXcoo2csr can also be used to convert the array containing the uncompressed column indices (corresponding to COO format) into ...
user3667089's user avatar
  • 3,418
0 votes
1 answer
792 views

I have a sparse matrix in cuSparse and I want to extract the diagonal. I can't seem to find a way to do it other than converting it back to CPU memory into Eigen SparseMatrix and use the .diagonal ...
user3667089's user avatar
  • 3,418
0 votes
1 answer
191 views

My cuSparse program worked correctly but after modifying it I've got a bunch of mistakes: /tmp/tmpxft_000014cd_00000000-14_Sample2.0.o: In function `main': tmpxft_000014cd_00000000-3_Sample2.0....
Max's user avatar
  • 499