hipsparsexbsric02_zeropivot Interface Reference

hipsparsexbsric02_zeropivot Interface Reference#

HIPFORT API Reference: hipfort_hipsparse::hipsparsexbsric02_zeropivot Interface Reference
hipfort_hipsparse::hipsparsexbsric02_zeropivot Interface Reference

Public Member Functions

integer(kind(hipsparse_status_success)) function hipsparsexbsric02_zeropivot_ (handle, myinfo, position)
 

Detailed Description

hipsparseXbsric02_zeroPivot returns HIPSPARSE_STATUS_ZERO_PIVOT if either a structural or numerical zero has been found during hipsparseSbsric02_analysis "hipsparseXbsric02_analysis()" or hipsparseSbsric02 "hipsparseXbsric02()" computation. The first zero pivot \(j\) at \(A_{j,j}\) is stored in position, using the same index base as the BSR matrix.

position can be in host or device memory. If no zero pivot has been found, position is set to -1 and HIPSPARSE_STATUS_SUCCESS is returned instead.

Note
If a zero pivot is found, position=j means that either the diagonal block A(j,j) is missing (structural zero) or the diagonal block A(j,j) is not positive definite (numerical zero).
hipsparseXbsric02_zeroPivot is a blocking function. It might negatively influence performance.
Deprecated:
This function is deprecated when using the CUDA backend (CUDA 12.0+) and will be removed in CUDA 13.0. This deprecation does not apply to the ROCm backend.
Parameters
[in]handle- handle to the hipSPARSE library context queue.
[in]myInfo- structure that holds the information collected during the analysis step.
[in,out]position- pointer to zero pivot \(j\), which can be in host or device memory.
Return values
HIPSPARSE_STATUS_SUCCESSthe operation completed successfully.
HIPSPARSE_STATUS_NOT_INITIALIZEDhandle is not initialized.
HIPSPARSE_STATUS_INVALID_VALUEhandle, info, or position is nullptr.
HIPSPARSE_STATUS_INTERNAL_ERRORan internal error occurred.
HIPSPARSE_STATUS_ZERO_PIVOTzero pivot has been found.

Member Function/Subroutine Documentation

◆ hipsparsexbsric02_zeropivot_()

integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexbsric02_zeropivot::hipsparsexbsric02_zeropivot_ ( type(c_ptr), value  handle,
type(c_ptr), value  myinfo,
integer(c_int)  position 
)

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