hipsparsescsrsm2_buffersizeext Interface Reference

hipsparsescsrsm2_buffersizeext Interface Reference#

hipFORT API Reference: hipfort_hipsparse::hipsparsescsrsm2_buffersizeext Interface Reference
hipfort_hipsparse::hipsparsescsrsm2_buffersizeext Interface Reference

Public Member Functions

integer(c_int) function hipsparsescsrsm2_buffersizeext_ (handle, algo, transa, transb, m, nrhs, nnz, alpha, descra, csrsortedvala, csrsortedrowptra, csrsortedcolinda, b, ldb, myinfo, policy, pbuffersizeinbytes)
 
integer(kind(hipsparse_status_success)) function hipsparsescsrsm2_buffersizeext_typed (handle, algo, transa, transb, m, nrhs, nnz, alpha, descra, csrsortedvala, csrsortedrowptra, csrsortedcolinda, b, ldb, myinfo, policy, pbuffersizeinbytes)
 
integer(kind(hipsparse_status_success)) function hipsparsescsrsm2_buffersizeext_rank_0 (handle, algo, transa, transb, m, nrhs, nnz, alpha, descra, csrsortedvala, csrsortedrowptra, csrsortedcolinda, b, ldb, myinfo, policy, pbuffersizeinbytes)
 
integer(kind(hipsparse_status_success)) function hipsparsescsrsm2_buffersizeext_rank_1 (handle, algo, transa, transb, m, nrhs, nnz, alpha, descra, csrsortedvala, csrsortedrowptra, csrsortedcolinda, b, ldb, myinfo, policy, pbuffersizeinbytes)
 
integer(kind(hipsparse_status_success)) function hipsparsescsrsm2_buffersizeext_full_rank (handle, algo, transa, transb, m, nrhs, nnz, alpha, descra, csrsortedvala, csrsortedrowptra, csrsortedcolinda, b, ldb, myinfo, policy, pbuffersizeinbytes)
 

Detailed Description

hipsparseXcsrsm2_bufferSizeExt returns the size of the temporary storage buffer in bytes that is required by hipsparseScsrsm2_analysis "hipsparseXcsrsm2_analysis()" and hipsparseScsrsm2_solve "hipsparseXcsrsm2_solve()". The temporary storage buffer must be allocated by the user.

Parameters
[in]handle- handle to the hipSPARSE library context queue.
[in]algo- algorithm to use.
[in]transA- matrix \(A\) operation type.
[in]transB- matrix \(B\) operation type.
[in]m- number of rows of the sparse CSR matrix \(A\).
[in]nrhs- number of columns of the dense matrix \(op(B)\).
[in]nnz- number of non-zero entries of the sparse CSR matrix \(A\).
[in]alpha- scalar \(\alpha\).
[in]descrA- descriptor of the sparse CSR matrix \(A\).
[in]csrSortedValA- array of nnz elements of the sparse CSR matrix \(A\).
[in]csrSortedRowPtrA- array of m+1 elements that point to the start of every row of the sparse CSR matrix \(A\).
[in]csrSortedColIndA- array of nnz elements containing the column indices of the sparse CSR matrix \(A\).
[in]B- array of m \(\times\) nrhs elements of the rhs matrix \(B\).
[in]ldb- leading dimension of rhs matrix \(B\).
[in]myInfo- structure that holds the information collected during the analysis step.
[in]policy- HIPSPARSE_SOLVE_POLICY_NO_LEVEL or HIPSPARSE_SOLVE_POLICY_USE_LEVEL.
[out]pBufferSizeInBytes- number of bytes of the temporary storage buffer required by hipsparseScsrsm2_analysis "hipsparseXcsrsm2_analysis()" and hipsparseScsrsm2_solve "hipsparseXcsrsm2_solve()".
Return values
HIPSPARSE_STATUS_SUCCESSthe operation completed successfully.
HIPSPARSE_STATUS_INVALID_VALUEhandle, m, nrhs, nnz, alpha, descrA, csrSortedValA, csrSortedRowPtrA, csrSortedColIndA, B, info, or pBufferSizeInBytes is invalid.
HIPSPARSE_STATUS_INTERNAL_ERRORan internal error occurred.
HIPSPARSE_STATUS_NOT_SUPPORTEDtransA == HIPSPARSE_OPERATION_CONJUGATE_TRANSPOSE, transB == HIPSPARSE_OPERATION_CONJUGATE_TRANSPOSE, or hipsparseMatrixType_t != HIPSPARSE_MATRIX_TYPE_GENERAL.

Member Function/Subroutine Documentation

◆ hipsparsescsrsm2_buffersizeext_()

integer(c_int) function hipfort_hipsparse::hipsparsescsrsm2_buffersizeext::hipsparsescsrsm2_buffersizeext_ ( type(c_ptr), value  handle,
integer(c_int), value  algo,
integer(c_int), value  transa,
integer(c_int), value  transb,
integer(c_int), value  m,
integer(c_int), value  nrhs,
integer(c_int), value  nnz,
type(c_ptr), value  alpha,
type(c_ptr), value  descra,
type(c_ptr), value  csrsortedvala,
type(c_ptr), value  csrsortedrowptra,
type(c_ptr), value  csrsortedcolinda,
type(c_ptr), value  b,
integer(c_int), value  ldb,
type(c_ptr), value  myinfo,
integer(c_int), value  policy,
type(c_ptr), value  pbuffersizeinbytes 
)

◆ hipsparsescsrsm2_buffersizeext_full_rank()

integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsescsrsm2_buffersizeext::hipsparsescsrsm2_buffersizeext_full_rank ( type(c_ptr), value  handle,
integer(c_int)  algo,
integer(kind(hipsparse_operation_non_transpose))  transa,
integer(kind(hipsparse_operation_non_transpose))  transb,
integer(c_int)  m,
integer(c_int)  nrhs,
integer(c_int)  nnz,
real(c_float), dimension(:), target  alpha,
type(c_ptr), value  descra,
real(c_float), dimension(:), target  csrsortedvala,
integer(c_int), dimension(:), target  csrsortedrowptra,
integer(c_int), dimension(:), target  csrsortedcolinda,
real(c_float), dimension(:,:), target  b,
integer(c_int)  ldb,
type(c_ptr), value  myinfo,
integer(kind(hipsparse_solve_policy_no_level))  policy,
integer(c_size_t), target  pbuffersizeinbytes 
)

◆ hipsparsescsrsm2_buffersizeext_rank_0()

integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsescsrsm2_buffersizeext::hipsparsescsrsm2_buffersizeext_rank_0 ( type(c_ptr), value  handle,
integer(c_int)  algo,
integer(kind(hipsparse_operation_non_transpose))  transa,
integer(kind(hipsparse_operation_non_transpose))  transb,
integer(c_int)  m,
integer(c_int)  nrhs,
integer(c_int)  nnz,
real(c_float), target  alpha,
type(c_ptr), value  descra,
real(c_float), target  csrsortedvala,
integer(c_int), target  csrsortedrowptra,
integer(c_int), target  csrsortedcolinda,
real(c_float), target  b,
integer(c_int)  ldb,
type(c_ptr), value  myinfo,
integer(kind(hipsparse_solve_policy_no_level))  policy,
integer(c_size_t), target  pbuffersizeinbytes 
)

◆ hipsparsescsrsm2_buffersizeext_rank_1()

integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsescsrsm2_buffersizeext::hipsparsescsrsm2_buffersizeext_rank_1 ( type(c_ptr), value  handle,
integer(c_int)  algo,
integer(kind(hipsparse_operation_non_transpose))  transa,
integer(kind(hipsparse_operation_non_transpose))  transb,
integer(c_int)  m,
integer(c_int)  nrhs,
integer(c_int)  nnz,
real(c_float), dimension(:), target  alpha,
type(c_ptr), value  descra,
real(c_float), dimension(:), target  csrsortedvala,
integer(c_int), dimension(:), target  csrsortedrowptra,
integer(c_int), dimension(:), target  csrsortedcolinda,
real(c_float), dimension(:), target  b,
integer(c_int)  ldb,
type(c_ptr), value  myinfo,
integer(kind(hipsparse_solve_policy_no_level))  policy,
integer(c_size_t), target  pbuffersizeinbytes 
)

◆ hipsparsescsrsm2_buffersizeext_typed()

integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsescsrsm2_buffersizeext::hipsparsescsrsm2_buffersizeext_typed ( type(c_ptr), value  handle,
integer(c_int)  algo,
integer(kind(hipsparse_operation_non_transpose))  transa,
integer(kind(hipsparse_operation_non_transpose))  transb,
integer(c_int)  m,
integer(c_int)  nrhs,
integer(c_int)  nnz,
type(c_ptr)  alpha,
type(c_ptr), value  descra,
type(c_ptr)  csrsortedvala,
type(c_ptr)  csrsortedrowptra,
type(c_ptr)  csrsortedcolinda,
type(c_ptr)  b,
integer(c_int)  ldb,
type(c_ptr), value  myinfo,
integer(kind(hipsparse_solve_policy_no_level))  policy,
integer(c_size_t), target  pbuffersizeinbytes 
)

The documentation for this interface was generated from the following file: