Skip to content

Commit

Permalink
doc: added the NAS benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
madsbk committed Apr 28, 2017
1 parent 7009055 commit 812aac5
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ def _script_path():
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath(os.path.join('..', '..')))
sys.path.insert(1, os.path.abspath(os.path.join('..', '..', 'benchpress', 'suites')))

on_rtd = os.environ.get('READTHEDOCS', None) == 'True'

Expand Down
3 changes: 2 additions & 1 deletion doc/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ Contents:
| :maxdepth: 2 | :maxdepth: 2 |
| | |
| quickstart | |
| install | |
| install | suites |
| usage_commands | benchmarks |
| implementing | |
| implementing | |
| reference/index | |
+------------------------------+------------------------------+
13 changes: 13 additions & 0 deletions doc/source/suites.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Suites
------

.. automodule:: nas_parallel_benchmark
:members:
:undoc-members:
:show-inheritance:


**The Source:**

.. literalinclude:: ../../benchpress/suites/nas_parallel_benchmark.py
:language: python

0 comments on commit 812aac5

Please sign in to comment.