]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make it clear that our CUDA wrappers only support float and double 5754/head
authorBruno Turcksin <bruno.turcksin@gmail.com>
Thu, 18 Jan 2018 14:20:32 +0000 (09:20 -0500)
committerBruno Turcksin <bruno.turcksin@gmail.com>
Thu, 18 Jan 2018 14:36:13 +0000 (09:36 -0500)
include/deal.II/lac/cuda_vector.h
include/deal.II/matrix_free/cuda_fe_evaluation.h
include/deal.II/matrix_free/cuda_matrix_free.h

index 6370afe42bcd9eb002acfd5a74329cd921849e81..2dfa9d62fe0e2aafd7e6b4f39f797e2e8eeeb815 100644 (file)
@@ -38,6 +38,8 @@ namespace LinearAlgebra
      * This class implements a vector using CUDA for use on Nvidia GPUs. This
      * class is derived from the LinearAlgebra::VectorSpaceVector class.
      *
+     * @note Only float and double are supported.
+     *
      * @ingroup CUDAWrappers
      * @ingroup Vectors
      * @author Karl Ljungkvist, Bruno Turcksin, 2016
@@ -215,8 +217,8 @@ namespace LinearAlgebra
        * twice. Since most vector operations are memory transfer limited, this
        * reduces the time by 25\% (or 50\% if @p W equals @p this).
        *
-       * For complex-valued vectors, the scalar product in the second step is implemented as
-       * $\left<v,w\right>=\sum_i v_i \bar{w_i}$.
+       * For complex-valued vectors, the scalar product in the second step is
+       * implemented as $\left<v,w\right>=\sum_i v_i \bar{w_i}$.
        */
       virtual Number add_and_dot(const Number                     a,
                                  const VectorSpaceVector<Number> &V,
index e6d84290c001bfd267ef7f054a5c17a7dc7012ae..9805e68d1ea86f1a8212dc2054e4cf7cbd0c06a9 100644 (file)
@@ -59,8 +59,8 @@ namespace CUDAWrappers
    * a vector Laplace equation), they can be applied simultaneously with one call
    * (and often more efficiently). Defaults to 1
    *
-   * @tparam Number Number format, usually @p double or @p float. Defaults to @p
-   * double
+   * @tparam Number Number format, @p double or @p float. Defaults to @p
+   * double.
    *
    * @ingroup CUDAWrappers
    *
index 50dccd6e2f3b3abe4ec021886d290f3416eaa3f5..4b8dfc117eeb3e310dfd7c8ec5c0507bb4481df6 100644 (file)
@@ -65,6 +65,8 @@ namespace CUDAWrappers
    * This class traverse the cells in a different order than the usual
    * Triangulation class in deal.II.
    *
+   * @note Only float and double are supported.
+   *
    * @ingroup CUDAWrappers
    */
   template <int dim, typename Number=double>

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.