]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add description of memory and exceution space for CUDA support
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Fri, 1 Mar 2019 00:22:29 +0000 (01:22 +0100)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Fri, 1 Mar 2019 00:22:29 +0000 (01:22 +0100)
include/deal.II/lac/trilinos_tpetra_vector.h

index e883b24a00a8a5938b34638c2ce1eab80f268162..35e31cc92eb1d4bc7a1b37675f2d542d99883ff2 100644 (file)
@@ -54,9 +54,15 @@ 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.
+     *
      * @ingroup TrilinosWrappers
      * @ingroup Vectors
-     * @author Daniel Arndt, 2018
+     * @author Daniel Arndt, 2019
      */
     template <typename Number>
     class Vector : public VectorSpaceVector<Number>, public Subscriptor

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.