Information Array - Information Array - 6.0 English - 68552

AOCL API Guide (68552)

Document_ID
68552
Release_Date
2026-11-10
Version
6.0 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.