Pipelined predict-and-recompute conjugate gradient method. This method has only a single non-blocking reduction per iteration, compared to 2 blocking for standard CG.
The non-blocking reduction is overlapped by the matrix-vector product and preconditioner Section 1.5 Writing Application Codes with PETSc.
MPI configuration may be necessary for reductions to make asynchronous progress, which is important for performance of pipelined methods.
See the FAQ on the PETSc website for details.
Tyler Chen, University of Washington, Applied Mathematics Department
"Predict-and-recompute conjugate gradient variants". Tyler Chen and Erin C. Carson. In preparation.
This material is based upon work supported by the National Science Foundation Graduate Research Fellowship Program under Grant No. DGE-1762114. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author and do not necessarily reflect the views of the National Science Foundation.
KSPCreate(), KSPSetType(), KSPPIPECG, KSPPIPECR, KSPGROPPCG, KSPPGMRES, KSPCG, KSPCGUseSingleReduction()
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages