.. _sdkruntime-conjugate-gradient: .. include:: benchmarks/conjugate-gradient/README.rst Note that the ``allreduce`` and ``stencil_3d_7pts`` modules used in this code are identical to those used in :ref:`sdkruntime-7pt-stencil-spmv`. layout.csl ---------- .. literalinclude:: benchmarks/conjugate-gradient/src/layout.csl :language: csl kernel.csl ---------- .. literalinclude:: benchmarks/conjugate-gradient/src/kernel.csl :language: csl blas.csl -------- .. literalinclude:: benchmarks/conjugate-gradient/src/blas.csl :language: csl run.py ------ .. literalinclude:: benchmarks/conjugate-gradient/run.py :language: python cmd_parser.py ------------- .. literalinclude:: benchmarks/conjugate-gradient/cmd_parser.py :language: python util.py ------- .. literalinclude:: benchmarks/conjugate-gradient/util.py :language: python cg.py ----- .. literalinclude:: benchmarks/conjugate-gradient/cg.py :language: python commands.sh ----------- .. literalinclude:: benchmarks/conjugate-gradient/commands_wse3.sh :language: shell ---- layout_cg.csl ------------- .. literalinclude:: benchmarks/conjugate-gradient/src/layout_cg.csl :language: csl kernel_cg.csl ------------- .. literalinclude:: benchmarks/conjugate-gradient/src/kernel_cg.csl :language: csl run_cg.py --------- .. literalinclude:: benchmarks/conjugate-gradient/run_cg.py :language: python