]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Document the execution space some more 7180/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sat, 2 Mar 2019 16:16:12 +0000 (17:16 +0100)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sat, 2 Mar 2019 16:16:12 +0000 (17:16 +0100)
include/deal.II/lac/trilinos_tpetra_vector.h

index 35e31cc92eb1d4bc7a1b37675f2d542d99883ff2..69303e228403f8e882a1ca7b72f2ff317644de37 100644 (file)
@@ -54,11 +54,18 @@ namespace LinearAlgebra
      * LinearAlgebra::VectorSpaceVector class and requires Trilinos to be
      * compiled with MPI support.
      *
-     * Tpetra uses Kokkos for thread-parallelism. In case Trilinos was
-     * configured with CUDA support, this class stores the values in unified
-     * virtual memory space and performs its action on the GPU. In particular,
-     * there is no need for manually synchronizing memory between host and
-     * device.
+     * Tpetra uses Kokkos for thread-parallelism and chooses the execution and
+     * memory space automatically depending on Kokkos configuration. The
+     * priority is ranked from highest to lowest:
+     * - Kokkos::Cuda
+     * - Kokkos::OpenMP
+     * - Kokkos::Threads
+     * - Kokkos::Serial
+     *
+     * In case Kokkos was configured with CUDA support, this class stores the
+     * values in unified virtual memory space and performs its action on the
+     * GPU. In particular, there is no need for manually synchronizing memory
+     * between host and device.
      *
      * @ingroup TrilinosWrappers
      * @ingroup Vectors

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.