From: Bruno Turcksin Date: Thu, 18 Jan 2018 14:20:32 +0000 (-0500) Subject: Make it clear that our CUDA wrappers only support float and double X-Git-Tag: v9.0.0-rc1~542^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F5754%2Fhead;p=dealii.git Make it clear that our CUDA wrappers only support float and double --- diff --git a/include/deal.II/lac/cuda_vector.h b/include/deal.II/lac/cuda_vector.h index 6370afe42b..2dfa9d62fe 100644 --- a/include/deal.II/lac/cuda_vector.h +++ b/include/deal.II/lac/cuda_vector.h @@ -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=\sum_i v_i \bar{w_i}$. + * For complex-valued vectors, the scalar product in the second step is + * implemented as $\left=\sum_i v_i \bar{w_i}$. */ virtual Number add_and_dot(const Number a, const VectorSpaceVector &V, diff --git a/include/deal.II/matrix_free/cuda_fe_evaluation.h b/include/deal.II/matrix_free/cuda_fe_evaluation.h index e6d84290c0..9805e68d1e 100644 --- a/include/deal.II/matrix_free/cuda_fe_evaluation.h +++ b/include/deal.II/matrix_free/cuda_fe_evaluation.h @@ -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 * diff --git a/include/deal.II/matrix_free/cuda_matrix_free.h b/include/deal.II/matrix_free/cuda_matrix_free.h index 50dccd6e2f..4b8dfc117e 100644 --- a/include/deal.II/matrix_free/cuda_matrix_free.h +++ b/include/deal.II/matrix_free/cuda_matrix_free.h @@ -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