CUSPARSE APIs (v1.7)
This section details the support status of cusparse APIs, using cusparse 11.7.2 as a baseline. All APIs marked as [DEPRECATED] in the cusparse 13.0 documentation are not supported. Most APIs are functional but have not yet been optimized for performance. API Coverage: 87/187 (46.5%) The table below lists the detailed support status for each API.
API | cuBLAS 11.7.2 | PPU 1.7 | Description |
cusparseCreate | Yes | Yes | |
cusparseDestroy | Yes | Yes | |
cusparseGetVersion | Yes | Yes | |
cusparseGetErrorName | Yes | Yes | |
cusparseGetErrorString | Yes | Yes | |
cusparseSetStream | Yes | Yes | |
cusparseGetStream | Yes | Yes | |
cusparseGetPointerMode | Yes | Yes | |
cusparseSetPointerMode | Yes | Yes | |
cusparseCreateMatDescr | Yes | Yes | |
cusparseDestroyMatDescr | Yes | Yes | |
cusparseCopyMatDescr | Yes | Yes | |
cusparseSetMatType | Yes | Yes | |
cusparseGetMatType | Yes | Yes | |
cusparseSetMatFillMode | Yes | Yes | |
cusparseGetMatFillMode | Yes | Yes | |
cusparseSetMatDiagType | Yes | Yes | |
cusparseGetMatDiagType | Yes | Yes | |
cusparseSetMatIndexBase | Yes | Yes | |
cusparseGetMatIndexBase | Yes | Yes | |
cusparseCreateCsric02Info | Yes | Yes | |
cusparseDestroyCsric02Info | Yes | Yes | |
cusparseCreateBsric02Info | Yes | Yes | |
cusparseDestroyBsric02Info | Yes | Yes | |
cusparseCreateCsrilu02Info | Yes | Yes | |
cusparseDestroyCsrilu02Info | Yes | Yes | |
cusparseCreateBsrilu02Info | Yes | Yes | |
cusparseDestroyBsrilu02Info | Yes | Yes | |
cusparseCreateBsrsv2Info | Yes | Yes | |
cusparseDestroyBsrsv2Info | Yes | Yes | |
cusparseCreateBsrsm2Info | Yes | Yes | |
cusparseDestroyBsrsm2Info | Yes | Yes | |
cusparseCreatePruneInfo | Yes | Yes | |
cusparseDestroyPruneInfo | Yes | Yes | |
cusparseXcoo2csr | Yes | Yes | |
cusparseXcoosort_bufferSizeExt | Yes | Yes | |
cusparseCreateSpVec | Yes | Yes | |
cusparseDestroySpVec | Yes | Yes | |
cusparseSpVecGet | Yes | Yes | |
cusparseSpVecGetIndexBase | Yes | Yes | |
cusparseSpVecGetValues | Yes | Yes | |
cusparseSpVecSetValues | Yes | Yes | |
cusparseCreateDnVec | Yes | Yes | |
cusparseDestroyDnVec | Yes | Yes | |
cusparseDnVecGet | Yes | Yes | |
cusparseDnVecGetValues | Yes | Yes | |
cusparseDnVecSetValues | Yes | Yes | |
cusparseDestroySpMat | Yes | Yes | |
cusparseSpMatGetFormat | Yes | Yes | |
cusparseSpMatGetIndexBase | Yes | Yes | |
cusparseSpMatGetValues | Yes | Yes | |
cusparseSpMatSetValues | Yes | Yes | |
cusparseSpMatGetSize | Yes | Yes | |
cusparseCooSetStridedBatch | Yes | Yes | |
cusparseCsrSetStridedBatch | Yes | Yes | |
cusparseSpMatGetAttribute | Yes | Yes | |
cusparseSpMatSetAttribute | Yes | Yes | |
cusparseCreateCsr | Yes | Yes | |
cusparseCreateCsc | Yes | Yes | |
cusparseCsrGet | Yes | Yes | |
cusparseCsrSetPointers | Yes | Yes | |
cusparseCreateCoo | Yes | Yes | |
cusparseCooGet | Yes | Yes | |
cusparseCreateBlockedEll | Yes | Yes | |
cusparseBlockedEllGet | Yes | Yes | |
cusparseCreateDnMat | Yes | Yes | |
cusparseDestroyDnMat | Yes | Yes | |
cusparseDnMatGet | Yes | Yes | |
cusparseDnMatGetValues | Yes | Yes | |
cusparseDnMatSetValues | Yes | Yes | |
cusparseDnMatSetStridedBatch | Yes | Yes | |
cusparseDnMatGetStridedBatch | Yes | Yes | |
cusparseScatter | Yes | Yes | |
cusparseGather | Yes | Yes | |
cusparseRot | Yes | Yes | |
cusparseSpVV_bufferSize | Yes | Yes | |
cusparseSparseToDense_bufferSize | Yes | Yes | |
cusparseDenseToSparse_bufferSize | Yes | Yes | |
cusparseSpMV | Yes | Yes | |
cusparseSpMV_bufferSize | Yes | Yes | |
cusparseSpSV_createDescr | Yes | Yes | |
cusparseSpSM_createDescr | Yes | Yes | |
cusparseSpMM_bufferSize | Yes | Yes | |
cusparseSpMM_preprocess | Yes | Yes | |
cusparseSpMM | Yes | Yes | |
cusparseSDDMM_bufferSize | Yes | Yes | |
cusparseSDDMM | Yes | Yes | |
cusparseGetProperty | Yes | No | Gets the library's version number. |
cusparseLoggerSetFile | Yes | No | Sets the logging file. |
cusparseLoggerOpenFile | Yes | No | Opens a log file at the specified path. |
cusparseLoggerSetLevel | Yes | No | Sets the logging level. |
cusparseLoggerSetMask | Yes | No | Sets the logging mask. |
cusparseLoggerForceDisable | Yes | No | Disables all logging. |
cusparseSgtsv2_bufferSizeExt | Yes | No | Provides algorithms for solving tridiagonal systems. |
cusparseDgtsv2_bufferSizeExt | Yes | No | |
cusparseCgtsv2_bufferSizeExt | Yes | No | |
cusparseZgtsv2_bufferSizeExt | Yes | No | |
cusparseSgtsv2 | Yes | No | |
cusparseDgtsv2 | Yes | No | |
cusparseCgtsv2 | Yes | No | |
cusparseZgtsv2 | Yes | No | |
cusparseSgtsv2_nopivot_bufferSizeExt | Yes | No | |
cusparseDgtsv2_nopivot_bufferSizeExt | Yes | No | |
cusparseCgtsv2_nopivot_bufferSizeExt | Yes | No | |
cusparseZgtsv2_nopivot_bufferSizeExt | Yes | No | |
cusparseSgtsv2_nopivot | Yes | No | |
cusparseDgtsv2_nopivot | Yes | No | |
cusparseCgtsv2_nopivot | Yes | No | |
cusparseZgtsv2_nopivot | Yes | No | |
cusparseSgtsv2StridedBatch_bufferSizeExt | Yes | No | Provides algorithms for solving batched tridiagonal systems. |
cusparseDgtsv2StridedBatch_bufferSizeExt | Yes | No | |
cusparseCgtsv2StridedBatch_bufferSizeExt | Yes | No | |
cusparseZgtsv2StridedBatch_bufferSizeExt | Yes | No | |
cusparseSgtsv2StridedBatch | Yes | No | |
cusparseDgtsv2StridedBatch | Yes | No | |
cusparseCgtsv2StridedBatch | Yes | No | |
cusparseZgtsv2StridedBatch | Yes | No | |
cusparseSgtsvInterleavedBatch_bufferSizeExt | Yes | No | |
cusparseDgtsvInterleavedBatch_bufferSizeExt | Yes | No | |
cusparseCgtsvInterleavedBatch_bufferSizeExt | Yes | No | |
cusparseZgtsvInterleavedBatch_bufferSizeExt | Yes | No | |
cusparseSgtsvInterleavedBatch | Yes | No | |
cusparseDgtsvInterleavedBatch | Yes | No | |
cusparseCgtsvInterleavedBatch | Yes | No | |
cusparseZgtsvInterleavedBatch | Yes | No | |
cusparseSgpsvInterleavedBatch_bufferSizeExt | Yes | No | Provides algorithms for solving batched pentadiagonal systems. |
cusparseDgpsvInterleavedBatch_bufferSizeExt | Yes | No | |
cusparseCgpsvInterleavedBatch_bufferSizeExt | Yes | No | |
cusparseZgpsvInterleavedBatch_bufferSizeExt | Yes | No | |
cusparseSgpsvInterleavedBatch | Yes | No | |
cusparseDgpsvInterleavedBatch | Yes | No | |
cusparseCgpsvInterleavedBatch | Yes | No | |
cusparseZgpsvInterleavedBatch | Yes | No | |
cusparseScsrgeam2_bufferSizeExt | Yes | No | Gets the required buffer size for CSR matrix addition. |
cusparseDcsrgeam2_bufferSizeExt | Yes | No | |
cusparseCcsrgeam2_bufferSizeExt | Yes | No | |
cusparseZcsrgeam2_bufferSizeExt | Yes | No | |
cusparseScsrgeam2 | Yes | No | |
cusparseDcsrgeam2 | Yes | No | |
cusparseCcsrgeam2 | Yes | No | |
cusparseZcsrgeam2 | Yes | No | |
cusparseXcsrgeam2Nnz | Yes | No | Sets the sparsity pattern of the output matrix C. |
cusparseSnnz | Yes | No | Computes the number of non-zero elements per row or column, and the total count, in a dense matrix. |
cusparseDnnz | Yes | No | |
cusparseCnnz | Yes | No | |
cusparseZnnz | Yes | No | |
cusparseXcsr2coo | Yes | No | Converts a matrix from CSR (Compressed Sparse Row) format to COO (Coordinate) format. |
cusparseSgebsr2gebsc_bufferSize | Yes | No | Converts a matrix from the general Block Sparse Row (BSR) format to the general Block Sparse Column (BSC) format. |
cusparseDgebsr2gebsc_bufferSize | Yes | No | |
cusparseCgebsr2gebsc_bufferSize | Yes | No | |
cusparseZgebsr2gebsc_bufferSize | Yes | No | |
cusparseSgebsr2gebsc | Yes | No | |
cusparseDgebsr2gebsc | Yes | No | |
cusparseCgebsr2gebsc | Yes | No | |
cusparseZgebsr2gebsc | Yes | No | |
cusparseScsr2gebsr_bufferSize | Yes | No | |
cusparseDcsr2gebsr_bufferSize | Yes | No | |
cusparseCcsr2gebsr_bufferSize | Yes | No | |
cusparseZcsr2gebsr_bufferSize | Yes | No | |
cusparseXcsr2gebsrNnz | Yes | No | |
cusparseDcsr2gebsr | Yes | No | |
cusparseCcsr2gebsr | Yes | No | |
cusparseZcsr2gebsr | Yes | No | |
cusparseXcoosortByRow | Yes | No | Sorts a matrix in COO format. |
cusparseXcoosortByColumn | Yes | No | |
cusparseXcsrsort_bufferSizeExt | Yes | No | Sorts a matrix in CSR format. |
cusparseXcsrsort | Yes | No | |
cusparseXcscsort_bufferSizeExt | Yes | No | Sorts a matrix in CSC format. |
cusparseXcscsort | Yes | No | |
cusparseCsr2cscEx2_bufferSize | Yes | No | Converts a sparse matrix from CSR format to CSC format. |
cusparseCsr2cscEx2 | Yes | No | |
cusparseSpMatSetStridedBatch | Yes | No | Sets the batch stride. |
cusparseSpMatGetStridedBatch | Yes | No | Gets the batch stride. |
cusparseCscSetPointers | Yes | No | Sets the data pointers for a sparse matrix descriptor. |
cusparseCooSetPointers | Yes | No | Sets the data pointers for a sparse matrix descriptor. |
cusparseSparseToDense | Yes | No | Converts a sparse matrix to its dense equivalent. |
cusparseDenseToSparse_analysis | Yes | No | Analyzes a dense matrix to determine the number of non-zero elements for sparse conversion. |
cusparseDenseToSparse_convert | Yes | No | Converts a dense matrix to a sparse format. |
cusparseSpSV_destroyDescr | Yes | No | Destroys a sparse triangular solve descriptor. |
cusparseSpSV_bufferSize | Yes | No | Gets the required buffer size for |
cusparseSpSV_analysis | Yes | No | |
cusparseSpSV_solve | Yes | No | |
cusparseSpSM_destroyDescr | Yes | No | Destroys a sparse triangular matrix-solve descriptor. |
cusparseSpSM_bufferSize | Yes | No | |
cusparseSpSM_analysis | Yes | No | |
cusparseSpSM_solve | Yes | No | |
cusparseSpGEMM_workEstimation | Yes | No | |
cusparseSpGEMM_compute | Yes | No | |
cusparseSpGEMM_copy | Yes | No | |
cusparseSpGEMMreuse_workEstimation | Yes | No | |
cusparseSpGEMMreuse_nnz | Yes | No | |
cusparseSpGEMMreuse_copy | Yes | No | |
cusparseSpGEMMreuse_compute | Yes | No | |
cusparseSDDMM_preprocess | Yes | No | |
cusparseSpMMOp_createPlan | Yes | No | |
cusparseSpMMOp | Yes | No | |
cusparseSpMMOp_destroyPlan | Yes | No | |
cusparseScsr2gebsr | Yes | No |