Exported rocSPARSE Functions#

Auxiliary Functions#

Function name

rocsparse_create_handle()

rocsparse_destroy_handle()

rocsparse_set_stream()

rocsparse_get_stream()

rocsparse_set_pointer_mode()

rocsparse_get_pointer_mode()

rocsparse_get_version()

rocsparse_get_git_rev()

rocsparse_create_mat_descr()

rocsparse_destroy_mat_descr()

rocsparse_copy_mat_descr()

rocsparse_set_mat_index_base()

rocsparse_get_mat_index_base()

rocsparse_set_mat_type()

rocsparse_get_mat_type()

rocsparse_set_mat_fill_mode()

rocsparse_get_mat_fill_mode()

rocsparse_set_mat_diag_type()

rocsparse_get_mat_diag_type()

rocsparse_set_mat_storage_mode()

rocsparse_get_mat_storage_mode()

rocsparse_create_hyb_mat()

rocsparse_destroy_hyb_mat()

rocsparse_copy_hyb_mat()

rocsparse_create_mat_info()

rocsparse_copy_mat_info()

rocsparse_destroy_mat_info()

rocsparse_create_color_info()

rocsparse_destroy_color_info()

rocsparse_copy_color_info()

rocsparse_create_spvec_descr()

rocsparse_destroy_spvec_descr()

rocsparse_spvec_get()

rocsparse_spvec_get_index_base()

rocsparse_spvec_get_values()

rocsparse_spvec_set_values()

rocsparse_create_coo_descr()

rocsparse_create_coo_aos_descr()

rocsparse_create_csr_descr()

rocsparse_create_csc_descr()

rocsparse_create_ell_descr()

rocsparse_create_bsr_descr()

rocsparse_create_bell_descr()

rocsparse_create_const_coo_descr()

rocsparse_create_const_csr_descr()

rocsparse_create_const_csc_descr()

rocsparse_create_const_bell_descr()

rocsparse_destroy_spmat_descr()

rocsparse_create_extract_descr()

rocsparse_destroy_extract_descr()

rocsparse_create_sparse_to_sparse_descr()

rocsparse_destroy_sparse_to_sparse_descr()

rocsparse_sparse_to_sparse_permissive()

rocsparse_coo_get()

rocsparse_coo_aos_get()

rocsparse_csr_get()

rocsparse_ell_get()

rocsparse_bell_get()

rocsparse_coo_set_pointers()

rocsparse_coo_aos_set_pointers()

rocsparse_csr_set_pointers()

rocsparse_csc_set_pointers()

rocsparse_ell_set_pointers()

rocsparse_bsr_set_pointers()

rocsparse_spmat_get_size()

rocsparse_spmat_get_nnz()

rocsparse_spmat_get_format()

rocsparse_spmat_get_index_base()

rocsparse_spmat_get_values()

rocsparse_spmat_set_values()

rocsparse_spmat_get_strided_batch()

rocsparse_spmat_set_strided_batch()

rocsparse_coo_set_strided_batch()

rocsparse_csr_set_strided_batch()

rocsparse_csc_set_strided_batch()

rocsparse_spmat_get_attribute()

rocsparse_spmat_set_attribute()

rocsparse_create_dnvec_descr()

rocsparse_create_const_dnvec_descr()

rocsparse_destroy_dnvec_descr()

rocsparse_dnvec_get()

rocsparse_dnvec_get_values()

rocsparse_dnvec_set_values()

rocsparse_create_dnmat_descr()

rocsparse_create_const_dnmat_descr()

rocsparse_destroy_dnmat_descr()

rocsparse_dnmat_get()

rocsparse_dnmat_get_values()

rocsparse_dnmat_set_values()

rocsparse_dnmat_get_strided_batch()

rocsparse_dnmat_set_strided_batch()

Sparse Level 1 Functions#

Function name

single

double

single complex

double complex

rocsparse_Xaxpyi()

x

x

x

x

rocsparse_Xdoti()

x

x

x

x

rocsparse_Xdotci()

x

x

rocsparse_Xgthr()

x

x

x

x

rocsparse_Xgthrz()

x

x

x

x

rocsparse_Xroti()

x

x

rocsparse_Xsctr()

x

x

x

x

Sparse Level 2 Functions#

Sparse Level 3 Functions#

Sparse Extra Functions#

Preconditioner Functions#

Conversion Functions#

Function name

single

double

single complex

double complex

rocsparse_csr2coo()

rocsparse_csr2csc_buffer_size()

rocsparse_Xcsr2csc()

x

x

x

x

rocsparse_Xgebsr2gebsc_buffer_size()

x

x

x

x

rocsparse_Xgebsr2gebsc()

x

x

x

x

rocsparse_csr2ell_width()

rocsparse_Xcsr2ell()

x

x

x

x

rocsparse_Xcsr2hyb()

x

x

x

x

rocsparse_csr2bsr_nnz()

rocsparse_Xcsr2bsr()

x

x

x

x

rocsparse_csr2gebsr_nnz()

rocsparse_Xcsr2gebsr_buffer_size()

x

x

x

x

rocsparse_Xcsr2gebsr()

x

x

x

x

rocsparse_coo2csr()

rocsparse_ell2csr_nnz()

rocsparse_Xell2csr()

x

x

x

x

rocsparse_hyb2csr_buffer_size()

rocsparse_Xhyb2csr()

x

x

x

x

rocsparse_Xbsr2csr()

x

x

x

x

rocsparse_Xgebsr2csr()

x

x

x

x

rocsparse_Xgebsr2gebsr_buffer_size()

x

x

x

x

rocsparse_gebsr2gebsr_nnz()

rocsparse_Xgebsr2gebsr()

x

x

x

x

rocsparse_Xcsr2csr_compress()

x

x

x

x

rocsparse_create_identity_permutation()

rocsparse_inverse_permutation()

rocsparse_cscsort_buffer_size()

rocsparse_cscsort()

rocsparse_csrsort_buffer_size()

rocsparse_csrsort()

rocsparse_coosort_buffer_size()

rocsparse_coosort_by_row()

rocsparse_coosort_by_column()

rocsparse_Xdense2csr()

x

x

x

x

rocsparse_Xdense2csc()

x

x

x

x

rocsparse_Xdense2coo()

x

x

x

x

rocsparse_Xcsr2dense()

x

x

x

x

rocsparse_Xcsc2dense()

x

x

x

x

rocsparse_Xcoo2dense()

x

x

x

x

rocsparse_Xnnz_compress()

x

x

x

x

rocsparse_Xnnz()

x

x

x

x

rocsparse_Xprune_dense2csr_buffer_size()

x

x

rocsparse_Xprune_dense2csr_nnz()

x

x

rocsparse_Xprune_dense2csr()

x

x

rocsparse_Xprune_csr2csr_buffer_size()

x

x

rocsparse_Xprune_csr2csr_nnz()

x

x

rocsparse_Xprune_csr2csr()

x

x

rocsparse_Xprune_dense2csr_by_percentage_buffer_size()

x

x

rocsparse_Xprune_dense2csr_nnz_by_percentage()

x

x

rocsparse_Xprune_dense2csr_by_percentage()

x

x

rocsparse_Xprune_csr2csr_by_percentage_buffer_size()

x

x

rocsparse_Xprune_csr2csr_nnz_by_percentage()

x

x

rocsparse_Xprune_csr2csr_by_percentage()

x

x

rocsparse_Xbsrpad_value()

x

x

x

x

Reordering Functions#

Function name

single

double

single complex

double complex

rocsparse_Xcsrcolor()

x

x

x

x

Utility Functions#

Sparse Generic Functions#

The generic API allows different combinations of data types and compute types to be used. See the specific routine documentation for details on what data types and compute types are supported.