Sparse Conversion Functions#
Sparse Conversion Functions
Conversions between different sparse matrix storage formats. More...
Data Types | |
| interface | hipfort_hipsparse::hipsparsesbsr2csr |
| Convert a sparse BSR matrix into a sparse CSR matrix. More... | |
| interface | hipfort_hipsparse::hipsparsexcoo2csr |
| Convert a sparse COO matrix into a sparse CSR matrix. More... | |
| interface | hipfort_hipsparse::hipsparsexcoosort_buffersizeext |
| Sort a sparse COO matrix. More... | |
| interface | hipfort_hipsparse::hipsparsexcoosortbyrow |
| Sort a sparse COO matrix by row. More... | |
| interface | hipfort_hipsparse::hipsparsexcoosortbycolumn |
| Sort a sparse COO matrix by column. More... | |
| interface | hipfort_hipsparse::hipsparsecreateidentitypermutation |
| Create the identity map. More... | |
| interface | hipfort_hipsparse::hipsparsescsc2dense |
hipsparseXcsc2dense functions convert the sparse matrix in CSC format into a dense matrix. More... | |
| interface | hipfort_hipsparse::hipsparsexcscsort_buffersizeext |
| Sort a sparse CSC matrix. More... | |
| interface | hipfort_hipsparse::hipsparsexcscsort |
| Sort a sparse CSC matrix. More... | |
| interface | hipfort_hipsparse::hipsparsexcsr2bsrnnz |
| This function computes the number of non-zero block columns per row and the total number of non-zero blocks in a sparse BSR matrix, given a sparse CSR matrix as input. More... | |
| interface | hipfort_hipsparse::hipsparsescsr2bsr |
| Convert a sparse CSR matrix into a sparse BSR matrix. More... | |
| interface | hipfort_hipsparse::hipsparsexcsr2coo |
| Convert a sparse CSR matrix into a sparse COO matrix. More... | |
| interface | hipfort_hipsparse::hipsparsescsr2csc |
| Convert a sparse CSR matrix into a sparse CSC matrix. More... | |
| interface | hipfort_hipsparse::hipsparsecsr2cscex2_buffersize |
| This function computes the size of the user-allocated temporary storage buffer used when converting a sparse CSR matrix into a sparse CSC matrix. More... | |
| interface | hipfort_hipsparse::hipsparsecsr2cscex2 |
| Convert a sparse CSR matrix into a sparse CSC matrix. More... | |
| interface | hipfort_hipsparse::hipsparsescsr2csr_compress |
| Convert a sparse CSR matrix into a compressed sparse CSR matrix. More... | |
| interface | hipfort_hipsparse::hipsparsescsr2csru |
| This function converts the sorted CSR format to the unsorted CSR format. More... | |
| interface | hipfort_hipsparse::hipsparsescsr2dense |
hipsparseXcsr2dense functions convert the sparse matrix in CSR format into a dense matrix. More... | |
| interface | hipfort_hipsparse::hipsparsescsr2gebsr_buffersize |
| Convert a sparse CSR matrix into a sparse GEBSR matrix. More... | |
| interface | hipfort_hipsparse::hipsparsexcsr2gebsrnnz |
| This function computes the number of non-zero block columns per row and the total number of non-zero blocks in a sparse GEBSR matrix given a sparse CSR matrix as input. More... | |
| interface | hipfort_hipsparse::hipsparsescsr2gebsr |
| Convert a sparse CSR matrix into a sparse GEBSR matrix. More... | |
| interface | hipfort_hipsparse::hipsparsescsr2hyb |
| Convert a sparse CSR matrix into a sparse HYB matrix. More... | |
| interface | hipfort_hipsparse::hipsparsexcsrsort_buffersizeext |
| Sort a sparse CSR matrix. More... | |
| interface | hipfort_hipsparse::hipsparsexcsrsort |
| Sort a sparse CSR matrix. More... | |
| interface | hipfort_hipsparse::hipsparsescsru2csr_buffersizeext |
This function calculates the amount of temporary storage in bytes required for hipsparseXcsru2csr() and hipsparseXcsr2csru(). More... | |
| interface | hipfort_hipsparse::hipsparsescsru2csr |
| This function converts the unsorted CSR format to the sorted CSR format. More... | |
| interface | hipfort_hipsparse::hipsparsesdense2csc |
hipsparseXdense2csc functions convert the matrix A in dense format into a sparse matrix in CSC format. More... | |
| interface | hipfort_hipsparse::hipsparsesdense2csr |
hipsparseXdense2csr converts the matrix A in dense format into a sparse matrix in CSR format. More... | |
| interface | hipfort_hipsparse::hipsparsesgebsr2csr |
| Convert a sparse GEBSR matrix into a sparse CSR matrix. More... | |
| interface | hipfort_hipsparse::hipsparsesgebsr2gebsc_buffersize |
| Convert a sparse GEBSR matrix into a sparse GEBSC matrix. More... | |
| interface | hipfort_hipsparse::hipsparsesgebsr2gebsc |
| Convert a sparse GEBSR matrix into a sparse GEBSC matrix. More... | |
| interface | hipfort_hipsparse::hipsparsesgebsr2gebsr_buffersize |
| This function computes the the size of the user-allocated temporary storage buffer used when converting a sparse GEBSR matrix to another sparse GEBSR matrix. More... | |
| interface | hipfort_hipsparse::hipsparsexgebsr2gebsrnnz |
| This function is used when converting a GEBSR sparse matrix \(A\) to another GEBSR sparse matrix \(C\). More... | |
| interface | hipfort_hipsparse::hipsparsesgebsr2gebsr |
| This function converts the GEBSR sparse matrix \(A\) to another GEBSR sparse matrix \(C\). More... | |
| interface | hipfort_hipsparse::hipsparseshyb2csr |
| Convert a sparse HYB matrix into a sparse CSR matrix. More... | |
| interface | hipfort_hipsparse::hipsparsesnnz |
hipsparseXnnz computes the number of non-zero elements per row or column and the total number of non-zero elements in a dense matrix. More... | |
| interface | hipfort_hipsparse::hipsparsesnnz_compress |
| This function is used as the first step in converting a CSR matrix to a compressed CSR matrix. More... | |
| interface | hipfort_hipsparse::hipsparsesprunecsr2csr_buffersize |
| Convert and prune a sparse CSR matrix into a sparse CSR matrix. More... | |
| interface | hipfort_hipsparse::hipsparsesprunecsr2csr_buffersizeext |
| Convert and prune sparse a CSR matrix into a sparse CSR matrix. More... | |
| interface | hipfort_hipsparse::hipsparsesprunecsr2csrnnz |
| Convert and prune sparse a CSR matrix into a sparse CSR matrix. More... | |
| interface | hipfort_hipsparse::hipsparsesprunecsr2csr |
| Convert and prune a sparse CSR matrix into a sparse CSR matrix. More... | |
| interface | hipfort_hipsparse::hipsparsesprunecsr2csrbypercentage_buffersize |
| Convert and prune by percentage a sparse CSR matrix into a sparse CSR matrix. More... | |
| interface | hipfort_hipsparse::hipsparsesprunecsr2csrbypercentage_buffersizeext |
| Convert and prune by percentage a sparse CSR matrix into a sparse CSR matrix. More... | |
| interface | hipfort_hipsparse::hipsparsesprunecsr2csrnnzbypercentage |
| Convert and prune by percentage a sparse CSR matrix into a sparse CSR matrix. More... | |
| interface | hipfort_hipsparse::hipsparsesprunecsr2csrbypercentage |
| Convert and prune by percentage a sparse CSR matrix into a sparse CSR matrix. More... | |
| interface | hipfort_hipsparse::hipsparsesprunedense2csr_buffersize |
hipsparseXpruneDense2csr_bufferSize computes the the size of the user-allocated temporary storage buffer used when converting a dense matrix to a pruned CSR matrix. More... | |
| interface | hipfort_hipsparse::hipsparsesprunedense2csrnnz |
hipsparseXpruneDense2csrNnz computes the number of non-zero elements per row and the total number of non-zero elements in a dense matrix after the elements less than the (non-negative) threshold are pruned from the matrix. More... | |
| interface | hipfort_hipsparse::hipsparsesprunedense2csr |
hipsparseXpruneDense2csr converts the matrix A in dense format into a sparse matrix in CSR format, while pruning values that are less than the (non-negative) threshold. More... | |
| interface | hipfort_hipsparse::hipsparsesprunedense2csrbypercentage_buffersize |
hipsparseXpruneDense2csrByPercentage_bufferSize functions convert the size of the user-allocated temporary storage buffer used when converting a dense matrix to a pruned CSR matrix where the pruning is done based on a percentage. More... | |
| interface | hipfort_hipsparse::hipsparsesprunedense2csrbypercentage_buffersizeext |
This function computes the size of the user-allocated temporary storage buffer used when converting and pruning by percentage a dense matrix to a CSR matrix. More... | |
| interface | hipfort_hipsparse::hipsparsesprunedense2csrnnzbypercentage |
This function computes the number of non-zero elements per row and the total number of non-zero elements in a dense matrix when converting and pruning by percentage a dense matrix to a CSR matrix. More... | |
| interface | hipfort_hipsparse::hipsparsesprunedense2csrbypercentage |
This function computes the number of non-zero elements per row and the total number of non-zero elements in a dense matrix when converting and pruning by percentage a dense matrix to a CSR matrix. More... | |
| interface | hipfort_rocsparse::rocsparse_sbsr2csr |
| Convert a sparse BSR matrix into a sparse CSR matrix. More... | |
| interface | hipfort_rocsparse::rocsparse_sbsrpad_value |
Pads a value to the diagonal of the last block (if the last block is a diagonal block) in the sparse BSR matrix when the matrix expands outside m x m. More... | |
| interface | hipfort_rocsparse::rocsparse_coo2csr |
| Convert a sparse COO matrix into a sparse CSR matrix. More... | |
| interface | hipfort_rocsparse::rocsparse_scoo2dense |
| This function converts the sparse matrix in COO format into a column-oriented dense matrix. More... | |
| interface | hipfort_rocsparse::rocsparse_coosort_buffer_size |
| interface | hipfort_rocsparse::rocsparse_coosort_by_row |
| Sort a sparse COO matrix by row. More... | |
| interface | hipfort_rocsparse::rocsparse_coosort_by_column |
| Sort a sparse COO matrix by column. More... | |
| interface | hipfort_rocsparse::rocsparse_scsc2dense |
| This function converts the sparse matrix in CSC format into a column-oriented dense matrix. More... | |
| interface | hipfort_rocsparse::rocsparse_cscsort_buffer_size |
| interface | hipfort_rocsparse::rocsparse_cscsort |
| Sort a sparse CSC matrix. More... | |
| interface | hipfort_rocsparse::rocsparse_csr2bsr_nnz |
| interface | hipfort_rocsparse::rocsparse_scsr2bsr |
| Convert a sparse CSR matrix into a sparse BSR matrix. More... | |
| interface | hipfort_rocsparse::rocsparse_csr2coo |
| Convert a sparse CSR matrix into a sparse COO matrix. More... | |
| interface | hipfort_rocsparse::rocsparse_csr2csc_buffer_size |
| interface | hipfort_rocsparse::rocsparse_scsr2csc |
| Convert a sparse CSR matrix into a sparse CSC matrix. More... | |
| interface | hipfort_rocsparse::rocsparse_scsr2csr_compress |
| Convert a sparse CSR matrix into a compressed sparse CSR matrix. More... | |
| interface | hipfort_rocsparse::rocsparse_scsr2dense |
| This function converts the sparse matrix in CSR format into a column-oriented dense matrix. More... | |
| interface | hipfort_rocsparse::rocsparse_csr2ell_width |
| interface | hipfort_rocsparse::rocsparse_scsr2ell |
| Convert a sparse CSR matrix into a sparse ELL matrix. More... | |
| interface | hipfort_rocsparse::rocsparse_scsr2gebsr_buffer_size |
| interface | hipfort_rocsparse::rocsparse_csr2gebsr_nnz |
| interface | hipfort_rocsparse::rocsparse_scsr2gebsr |
| Convert a sparse CSR matrix into a sparse general BSR matrix. More... | |
| interface | hipfort_rocsparse::rocsparse_scsr2hyb |
| Convert a sparse CSR matrix into a sparse HYB matrix. More... | |
| interface | hipfort_rocsparse::rocsparse_csrsort_buffer_size |
| interface | hipfort_rocsparse::rocsparse_csrsort |
| Sort a sparse CSR matrix. More... | |
| interface | hipfort_rocsparse::rocsparse_sdense2coo |
| This function converts the matrix \(A\) in column-oriented dense format into a sparse matrix in COO format. More... | |
| interface | hipfort_rocsparse::rocsparse_sdense2csc |
| This function converts the matrix \(A\) in column-oriented dense format into a sparse matrix in CSC format. More... | |
| interface | hipfort_rocsparse::rocsparse_sdense2csr |
| This function converts the matrix \(A\) in column-oriented dense format into a sparse matrix in CSR format. More... | |
| interface | hipfort_rocsparse::rocsparse_ell2csr_nnz |
| interface | hipfort_rocsparse::rocsparse_sell2csr |
| Convert a sparse ELL matrix into a sparse CSR matrix. More... | |
| interface | hipfort_rocsparse::rocsparse_sgebsr2csr |
| Convert a sparse general BSR matrix into a sparse CSR matrix. More... | |
| interface | hipfort_rocsparse::rocsparse_sgebsr2gebsc_buffer_size |
| interface | hipfort_rocsparse::rocsparse_sgebsr2gebsc |
| Convert a sparse general BSR matrix into a sparse general BSC matrix. More... | |
| interface | hipfort_rocsparse::rocsparse_sgebsr2gebsr_buffer_size |
| interface | hipfort_rocsparse::rocsparse_gebsr2gebsr_nnz |
| interface | hipfort_rocsparse::rocsparse_sgebsr2gebsr |
| This function converts the general BSR sparse matrix \(A\) to another general BSR sparse matrix \(C\). More... | |
| interface | hipfort_rocsparse::rocsparse_hyb2csr_buffer_size |
| interface | hipfort_rocsparse::rocsparse_shyb2csr |
| Convert a sparse HYB matrix into a sparse CSR matrix. More... | |
| interface | hipfort_rocsparse::rocsparse_create_identity_permutation |
| Create the identity map. More... | |
| interface | hipfort_rocsparse::rocsparse_inverse_permutation |
| Inverse a permutation vector. More... | |
| interface | hipfort_rocsparse::rocsparse_set_identity_permutation |
| Create the identity map. More... | |
| interface | hipfort_rocsparse::rocsparse_snnz |
| interface | hipfort_rocsparse::rocsparse_snnz_compress |
| Given a sparse CSR matrix and a non-negative tolerance, this function computes how many entries would be left in each row of the matrix if elements less than the tolerance were removed. More... | |
| interface | hipfort_rocsparse::rocsparse_sprune_csr2csr_buffer_size |
| interface | hipfort_rocsparse::rocsparse_sprune_csr2csr_nnz |
| interface | hipfort_rocsparse::rocsparse_sprune_csr2csr |
| Convert and prune sparse CSR matrix \(A\) into a sparse CSR matrix \(C\). More... | |
| interface | hipfort_rocsparse::rocsparse_sprune_csr2csr_by_percentage_buffer_size |
| interface | hipfort_rocsparse::rocsparse_sprune_csr2csr_nnz_by_percentage |
| interface | hipfort_rocsparse::rocsparse_sprune_csr2csr_by_percentage |
| Convert and prune by percentage a sparse CSR matrix \(A\) into a sparse CSR matrix \(C\). More... | |
| interface | hipfort_rocsparse::rocsparse_sprune_dense2csr_buffer_size |
| interface | hipfort_rocsparse::rocsparse_sprune_dense2csr_nnz |
| interface | hipfort_rocsparse::rocsparse_sprune_dense2csr |
| Convert and prune dense matrix \(A\) into a sparse CSR matrix \(C\). More... | |
| interface | hipfort_rocsparse::rocsparse_sprune_dense2csr_by_percentage_buffer_size |
| interface | hipfort_rocsparse::rocsparse_sprune_dense2csr_nnz_by_percentage |
| interface | hipfort_rocsparse::rocsparse_sprune_dense2csr_by_percentage |
| This function converts the matrix \(A\) in dense format into a sparse matrix in CSR format while pruning values based on percentage. More... | |
Detailed Description
Conversions between different sparse matrix storage formats.