.. _sdkruntime-power-method: .. include:: benchmarks/powerMethod/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/powerMethod/layout.csl :language: csl kernel.csl ---------- .. literalinclude:: benchmarks/powerMethod/kernel.csl :language: csl blas.csl -------- .. literalinclude:: benchmarks/powerMethod/blas.csl :language: csl run.py ------ .. literalinclude:: benchmarks/powerMethod/run.py :language: python cmd_parser.py ------------- .. literalinclude:: benchmarks/powerMethod/cmd_parser.py :language: python util.py ------- .. literalinclude:: benchmarks/powerMethod/util.py :language: python power_method.py --------------- .. literalinclude:: benchmarks/powerMethod/power_method.py :language: python commands.sh ----------- .. literalinclude:: benchmarks/powerMethod/commands.sh :language: shell ---- layout_power.csl ---------------- .. literalinclude:: benchmarks/powerMethod/layout_power.csl :language: csl kernel_power.csl ---------------- .. literalinclude:: benchmarks/powerMethod/kernel_power.csl :language: csl run_power.py ------------ .. literalinclude:: benchmarks/powerMethod/run_power.py :language: python