Skip to content
Snippets Groups Projects
Commit 89f89817 authored by Yifan Zhao's avatar Yifan Zhao
Browse files

Tuck 'tests and benchmarks' under components

parent b44500ae
No related branches found
No related tags found
No related merge requests found
...@@ -31,3 +31,16 @@ which explains their role, usage, and other details. ...@@ -31,3 +31,16 @@ which explains their role, usage, and other details.
torch2hpvm torch2hpvm
predtuner predtuner
hpvm-profiler hpvm-profiler
Tests and Benchmarks
--------------------
HPVM provides a number of general benchmarks (written in HPVM-C), DNN benchmarks,
and test cases testing the components listed above.
See this for more details on these tests and benchmarks:
.. toctree::
:maxdepth: 1
tests
../../test/README.rst
\ No newline at end of file
...@@ -50,7 +50,6 @@ Documentation ...@@ -50,7 +50,6 @@ Documentation
install install
getting-started getting-started
tests
components/index components/index
specifications/index specifications/index
developerdocs/index developerdocs/index
......
...@@ -177,17 +177,17 @@ Now, compile the HPVM Compilation Tool ``hpvm-clang`` using: ...@@ -177,17 +177,17 @@ Now, compile the HPVM Compilation Tool ``hpvm-clang`` using:
With all the aforementioned steps, HPVM should be built, installed, tested and ready to use. With all the aforementioned steps, HPVM should be built, installed, tested and ready to use.
In particular, ``hpvm-clang`` should be an executable command from your command line. In particular, ``hpvm-clang`` should be an executable command from your command line.
Benchmarks and Tests Tests and Benchmarks
-------------------- --------------------
We provide a number of general benchmarks, DNN benchmarks, and test cases, written in HPVM. We provide a number of general benchmarks, DNN benchmarks, and test cases, written in HPVM.
``make`` targets ``check-hpvm-pass``, ``check-hpvm-dnn``, and ``check-hpvm-profiler`` ``make`` targets ``check-hpvm-pass``, ``check-hpvm-dnn``, ``check-hpvm-profiler``,
tests various components of HPVM and are increasingly time-consuming. and others tests various components of HPVM.
You can run tests similarly as how ``hpvm-clang`` is compiled: for example, You can run tests similarly as how ``hpvm-clang`` is compiled: for example,
.. code-block:: shell .. code-block:: shell
make -j<number of threads> check-hpvm-pass make -j<number of threads> check-hpvm-pass
runs ``check-hpvm-pass`` tests. See :doc:`/tests` for details on benchmarks and test cases. runs ``check-hpvm-pass`` tests. See :doc:`/components/tests` for details on benchmarks and test cases.
../test/README.rst
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment