hipsparseshyb2csr Interface Reference#
hipfort_hipsparse::hipsparseshyb2csr Interface Reference
Convert a sparse HYB matrix into a sparse CSR matrix. More...
Public Member Functions | |
| integer(kind(hipsparse_status_success)) function | hipsparseshyb2csr_ (handle, descra, hyba, csrsortedvala, csrsortedrowptra, csrsortedcolinda) |
| integer(kind(hipsparse_status_success)) function | hipsparseshyb2csr_rank_0 (handle, descra, hyba, csrsortedvala, csrsortedrowptra, csrsortedcolinda) |
| integer(kind(hipsparse_status_success)) function | hipsparseshyb2csr_rank_1 (handle, descra, hyba, csrsortedvala, csrsortedrowptra, csrsortedcolinda) |
Detailed Description
Convert a sparse HYB matrix into a sparse CSR matrix.
hipsparseXhyb2csr converts a HYB matrix into a CSR matrix.
- Note
- This function is non-blocking and executed asynchronously with respect to the host. It can return before the actual computation has finished.
- Deprecated:
- This function is deprecated when using the CUDA backend (CUDA 10.0+) and will be removed in CUDA 11.0. This deprecation does not apply to the ROCm backend.
- Parameters
-
[in] handle - handle to the hipSPARSE library context queue. [in] descrA - descriptor of the sparse HYB matrix. Currently, only HIPSPARSE_MATRIX_TYPE_GENERALis supported.[in] hybA - sparse matrix in HYB format. [out] csrSortedValA - array containing the values of the sparse CSR matrix. [out] csrSortedRowPtrA - array of m+1elements that point to the start of every row of the sparse CSR matrix.[out] csrSortedColIndA - array containing the column indices of the sparse CSR matrix.
- Return values
-
HIPSPARSE_STATUS_SUCCESS the operation completed successfully. HIPSPARSE_STATUS_NOT_INITIALIZED handleis not initialized.HIPSPARSE_STATUS_INVALID_VALUE handle,descrA,hybA,csrSortedValA,csrSortedRowPtrA, orcsrSortedColIndAis nullptr.HIPSPARSE_STATUS_INTERNAL_ERROR an internal error occurred. HIPSPARSE_STATUS_NOT_SUPPORTED hipsparseMatrixType_t!=HIPSPARSE_MATRIX_TYPE_GENERAL.
Member Function/Subroutine Documentation
◆ hipsparseshyb2csr_()
| integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparseshyb2csr::hipsparseshyb2csr_ | ( | type(c_ptr), value | handle, |
| type(c_ptr), value | descra, | ||
| type(c_ptr), value | hyba, | ||
| type(c_ptr), value | csrsortedvala, | ||
| type(c_ptr), value | csrsortedrowptra, | ||
| type(c_ptr), value | csrsortedcolinda | ||
| ) |
◆ hipsparseshyb2csr_rank_0()
| integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparseshyb2csr::hipsparseshyb2csr_rank_0 | ( | type(c_ptr) | handle, |
| type(c_ptr) | descra, | ||
| type(c_ptr) | hyba, | ||
| real(c_float), target | csrsortedvala, | ||
| integer(c_int), target | csrsortedrowptra, | ||
| integer(c_int), target | csrsortedcolinda | ||
| ) |
◆ hipsparseshyb2csr_rank_1()
| integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparseshyb2csr::hipsparseshyb2csr_rank_1 | ( | type(c_ptr) | handle, |
| type(c_ptr) | descra, | ||
| type(c_ptr) | hyba, | ||
| real(c_float), dimension(:), target | csrsortedvala, | ||
| integer(c_int), dimension(:), target | csrsortedrowptra, | ||
| integer(c_int), dimension(:), target | csrsortedcolinda | ||
| ) |
The documentation for this interface was generated from the following file: