hipsparsexcoosort_buffersizeext Interface Reference#
hipfort_hipsparse::hipsparsexcoosort_buffersizeext Interface Reference
Sort a sparse COO matrix. More...
Public Member Functions | |
| integer(c_int) function | hipsparsexcoosort_buffersizeext_ (handle, m, n, nnz, coorows, coocols, pbuffersizeinbytes) |
| integer(kind(hipsparse_status_success)) function | hipsparsexcoosort_buffersizeext_typed (handle, m, n, nnz, coorows, coocols, pbuffersizeinbytes) |
| integer(kind(hipsparse_status_success)) function | hipsparsexcoosort_buffersizeext_rank_0 (handle, m, n, nnz, coorows, coocols, pbuffersizeinbytes) |
| integer(kind(hipsparse_status_success)) function | hipsparsexcoosort_buffersizeext_rank_1 (handle, m, n, nnz, coorows, coocols, pbuffersizeinbytes) |
Detailed Description
Sort a sparse COO matrix.
hipsparseXcoosort_bufferSizeExt returns the size of the temporary storage buffer in bytes required by hipsparseXcoosortByRow() and hipsparseXcoosortByColumn(). The temporary storage buffer must be allocated by the user.
- Parameters
-
[in] handle - handle to the hipSPARSE library context queue. [in] m - number of rows of the sparse COO matrix. [in] n - number of columns of the sparse COO matrix. [in] nnz - number of non-zero entries of the sparse COO matrix. [in] cooRows - array of nnzelements containing the row indices of the sparse COO matrix.[in] cooCols - array of nnzelements containing the column indices of the sparse COO matrix.[out] pBufferSizeInBytes - number of bytes of the temporary storage buffer required by hipsparseXcoosortByRow()andhipsparseXcoosortByColumn().
- Return values
-
HIPSPARSE_STATUS_SUCCESS the operation completed successfully. HIPSPARSE_STATUS_INVALID_VALUE handle,m,n,nnz,cooRows,cooCols, orpBufferSizeInBytespointer is invalid.HIPSPARSE_STATUS_INTERNAL_ERROR an internal error occurred.
Member Function/Subroutine Documentation
◆ hipsparsexcoosort_buffersizeext_()
| integer(c_int) function hipfort_hipsparse::hipsparsexcoosort_buffersizeext::hipsparsexcoosort_buffersizeext_ | ( | type(c_ptr), value | handle, |
| integer(c_int), value | m, | ||
| integer(c_int), value | n, | ||
| integer(c_int), value | nnz, | ||
| type(c_ptr), value | coorows, | ||
| type(c_ptr), value | coocols, | ||
| type(c_ptr), value | pbuffersizeinbytes | ||
| ) |
◆ hipsparsexcoosort_buffersizeext_rank_0()
| integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexcoosort_buffersizeext::hipsparsexcoosort_buffersizeext_rank_0 | ( | type(c_ptr), value | handle, |
| integer(c_int) | m, | ||
| integer(c_int) | n, | ||
| integer(c_int) | nnz, | ||
| integer(c_int), target | coorows, | ||
| integer(c_int), target | coocols, | ||
| integer(c_size_t), target | pbuffersizeinbytes | ||
| ) |
◆ hipsparsexcoosort_buffersizeext_rank_1()
| integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexcoosort_buffersizeext::hipsparsexcoosort_buffersizeext_rank_1 | ( | type(c_ptr), value | handle, |
| integer(c_int) | m, | ||
| integer(c_int) | n, | ||
| integer(c_int) | nnz, | ||
| integer(c_int), dimension(:), target | coorows, | ||
| integer(c_int), dimension(:), target | coocols, | ||
| integer(c_size_t), target | pbuffersizeinbytes | ||
| ) |
◆ hipsparsexcoosort_buffersizeext_typed()
| integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexcoosort_buffersizeext::hipsparsexcoosort_buffersizeext_typed | ( | type(c_ptr), value | handle, |
| integer(c_int) | m, | ||
| integer(c_int) | n, | ||
| integer(c_int) | nnz, | ||
| type(c_ptr) | coorows, | ||
| type(c_ptr) | coocols, | ||
| integer(c_size_t), target | pbuffersizeinbytes | ||
| ) |
The documentation for this interface was generated from the following file: