pub unsafe extern "C" fn cusparseXbsric02_zeroPivot(
handle: cusparseHandle_t,
info: bsric02Info_t,
position: *mut c_int,
) -> cusparseStatus_t๐Deprecated
Expand description
If the returned error code is cusparseStatus_t::CUSPARSE_STATUS_ZERO_PIVOT, position=j means A(j,j) has either a structural zero or a numerical zero (the block is not positive definite). Otherwise position=-1.
The position can be 0-based or 1-based, the same as the matrix.
Function cusparseXbsric02_zeroPivot is a blocking call. It calls cudaDeviceSynchronize() to make sure all previous kernels are done.
The position can be in the host memory or device memory. The user can set the proper mode with cusparseSetPointerMode.
- The routine requires no extra storage.
- The routine supports asynchronous execution if the Stream Ordered Memory Allocator is available.
- The routine supports CUDA graph capture if the Stream Ordered Memory Allocator is available.
ยงParameters
position: If no structural or numerical zero,positionis -1, otherwise ifA(j,j)is missing orL(j,j)is not positive definite,position=j.