Information Array - 5.2 English - 68552

AOCL API Guide (68552)

Document ID
68552
Release Date
2025-12-29
Version
5.2 English

The array rinfo[100] is used by the solvers (e.g. aoclsparse_itsol_s_solve() or aoclsparse_itsol_d_rci_solve() or aoclsparse_itsol_c_rci_solve() or aoclsparse_itsol_z_rci_solve()) to report back useful convergence metrics and other solver statistics. The user callback monit is also equipped with this array and can be used to view or monitor the state of the solver. The solver will populate the following entries with the most recent iteration data

Index

Description

0

Absolute residual norm, \(r_{\text{abs}} = \| Ax-b\|_2\).

1

Norm of the right-hand side vector \(b\), \(\|b\|_2\).

2-29

Reserved for future use.

30

Iteration counter.

31-99

Reserved for future use.