single float sparse matrix in mex files- using cusparse
显示 更早的评论
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 个评论
James Tursa
2018-7-26
编辑:James Tursa
2018-7-26
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?
采纳的回答
更多回答(1 个)
类别
在 帮助中心 和 File Exchange 中查找有关 GPU Computing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!