JCusparse

Java bindings for CUSPARSE



JCusparse is a library that makes it it possible to use CUSPARSE, the NVIDIA CUDA sparse matrix library, in Java applications.

You may obtain the latest version of JCusparse and the JCusparse source code in the Downloads section.



JCusparse and JCusparse2


The JCusparse library contains two main classes: The JCusparse class provides bindings for the classical CUSPARSE functions. Starting with CUDA 4.0, NVIDIA has added a new API for CUSPARSE, referred to as "CUSPARSE V2". This new API is available through the JCusparse2 class.


Documentation


You may either browse the JCusparse API documentation here, or download the JCusparse documentation in a ZIP file from the Downloads section.

Most of the documentation is directly taken from the CUSPARSE header files.



Application


With JCusparse, it is possible for Java programmers to use the functions that are provided by the CUSPARSE library. These include several level 1,2 and 3 BLAS functions for sparse matrices and vectors, as well as specific sparse vector operations like gather and scatter. Additionally, the library offers conversion routines between some of the most common sparse matrix representations, like COO, CSR and CSC.