On http://www.jcuda.org/samples/samples.html, currently there is JCusolverSamples20151013.zip for download. It seems that a current version of jcuda like 0.7.5 or 0.7 fits it.
However, JCusolverSp_LinearSolver_Direct.java, one of the two java files, cannot compile, and it contains 5 errors wrt 3 different methods. All of the error messages are similar to the following message about discrepancy of the last argument, 'Pointer' instead of 'int[]':
The method cusolverSpDcsrlsvchol(cusolverSpHandle, int, int, cusparseMatDescr, Pointer, Pointer, Pointer, Pointer, double, int, Pointer, Pointer) in the type JCusolverSp is not applicable for the arguments (cusolverSpHandle, int, int, cusparseMatDescr, Pointer, Pointer, Pointer, Pointer, double, int, Pointer, int[])
I have also checked JCuda 0.7.0, and the APIs regarding the methods are the same. I am new to Jcuda so I don't know how to modify the sample JCusolverSp_LinearSolver_Direct java file. How to make it work?