hipsparsexbsrilu02_zeropivot Interface Reference

hipsparsexbsrilu02_zeropivot Interface Reference#

HIPFORT API Reference: hipfort_hipsparse::hipsparsexbsrilu02_zeropivot Interface Reference
hipfort_hipsparse::hipsparsexbsrilu02_zeropivot Interface Reference

Incomplete LU factorization with 0 fill-ins and no pivoting using BSR storage format. More...

Public Member Functions

integer(kind(hipsparse_status_success)) function hipsparsexbsrilu02_zeropivot_ (handle, myInfo, position)
 

Detailed Description

Incomplete LU factorization with 0 fill-ins and no pivoting using BSR storage format.

hipsparseXbsrilu02_zeroPivot returns HIPSPARSE_STATUS_ZERO_PIVOT, if either a structural or numerical zero has been found during hipsparseXbsrilu02_analysis() or hipsparseXbsrilu02() computation. The first zero pivot \(j\) at \(A_{j,j}\) is stored in position, using 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 invertible (numerical zero).
hipsparseXbsrilu02_zeroPivot is a blocking function. It might influence performance negatively.

Member Function/Subroutine Documentation

◆ hipsparsexbsrilu02_zeropivot_()

integer(kind(hipsparse_status_success)) function hipfort_hipsparse::hipsparsexbsrilu02_zeropivot::hipsparsexbsrilu02_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: