diff --git a/docs/building.rst b/docs/building.rst index 93165d6..885f06f 100644 --- a/docs/building.rst +++ b/docs/building.rst @@ -18,6 +18,8 @@ that are summarized here: - :ref:`vt_DIR ` - :ref:`vt_ROOT ` +- :ref:`Kokkos_DIR ` +- :ref:`Kokkos_ROOT ` - :ref:`BVH_VT_INSERTABLE_COLLECTIONS ` - :ref:`VTK_ROOT ` - :ref:`BVH_DEBUG_LEVEL ` @@ -67,6 +69,27 @@ BVH can optionally use insertable collections. Use the following to turn off ins -DBVH_VT_INSERTABLE_COLLECTIONS=OFF +Locating Kokkos +----------------- + +BVH is dependent on `Kokkos`_ for performance portability. +Follow the instructions on `Kokkos wiki`_ for Kokkos build and installation. + +.. _cmake-kokkos-dir: + +.. code-block:: sh + + -DKokkos_DIR=path/to/kokkos/install/cmake + +.. _cmake-kokkos-root: + +.. code-block:: sh + + -DKokkos_ROOT=path/to/kokkos/install + +.. _Kokkos: https://github.com/kokkos/kokkos +.. _Kokkos wiki: https://kokkos.github.io/kokkos-core-wiki/building.html + Building with VTK -----------------