hipsparsexcoosort_buffersizeext Interface Reference

hipsparsexcoosort_buffersizeext Interface Reference#

hipFORT API Reference: hipfort_hipsparse::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 nnz elements containing the row indices of the sparse COO matrix.
[in]cooCols- array of nnz elements containing the column indices of the sparse COO matrix.
[out]pBufferSizeInBytes- number of bytes of the temporary storage buffer required by hipsparseXcoosortByRow() and hipsparseXcoosortByColumn().
Return values
HIPSPARSE_STATUS_SUCCESSthe operation completed successfully.
HIPSPARSE_STATUS_INVALID_VALUEhandle, m, n, nnz, cooRows, cooCols, or pBufferSizeInBytes pointer is invalid.
HIPSPARSE_STATUS_INTERNAL_ERRORan 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: