single float sparse matrix in mex files- using cusparse
Show older comments
Hi,
As you know "mxCreateSparse" return a double sparse matrix instead of single matrix, and "mxCreateSparseNumericMatrix", is not available there any more (on R2018a). I did try to compile this (mxCreateSparseNumericMatrix) on R2018a, and after adding library file(libmx.lib from R2013a) I could compile the mex file including "mxCreateSparseNumericMatrix" on R2018a but I could not run it despite adding dll library files, so I would like to know is there any suggestion I could use to successful compile and run this on R2018a, or maybe you can create and send me some file that can be compile and run on R2018a, I truly appreciate your time and effort. I have implemented all the available operation on double sparse matrix using CUDA library(such as matrix matrix addition, multiplication etc )and I could use this for single sparse matrix.
Thank you very much.
Best regards, Kevin
1 Comment
James Tursa
on 26 Jul 2018
Edited: James Tursa
on 26 Jul 2018
Can you post a short example where mxCreateSparseNumericMatrix used to work on older versions? What were you doing with the result of this call in MATLAB?
Accepted Answer
More Answers (1)
Kevin Bronik
on 16 Aug 2018
Categories
Find more on GPU Computing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!