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