]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Augment documentation of CUDA atomic.
authorBruno Turcksin <bruno.turcksin@gmail.com>
Sun, 14 May 2017 03:01:25 +0000 (23:01 -0400)
committerBruno Turcksin <bruno.turcksin@gmail.com>
Mon, 15 May 2017 21:18:05 +0000 (17:18 -0400)
include/deal.II/lac/cuda_atomic.cuh

index e2dd20d87db76113d0305712010186f9d3a45b60..ccbc2c61be774115f44ab9ec4f639eb41acd0123 100644 (file)
@@ -27,6 +27,8 @@ namespace LinearAlgebra
   {
     /**
      * Provide atomicAdd for floats.
+     *
+     * @ingroup CUDAWrappers
      */
     inline __device__  float atomicAdd_wrapper(float *address, float val)
     {
@@ -37,6 +39,8 @@ namespace LinearAlgebra
 
     /**
      * Provide atomicAdd for doubles.
+     *
+     * @ingroup CUDAWrappers
      */
     inline __device__ double atomicAdd_wrapper(double *address, double val)
     {
@@ -64,6 +68,8 @@ namespace LinearAlgebra
 
     /**
      * Provide atomicMax for floats.
+     *
+     * @ingroup CUDAWrappers
      */
     inline __device__  float atomicMax_wrapper(float *address, float val)
     {
@@ -84,6 +90,8 @@ namespace LinearAlgebra
 
     /**
      * Provide atomicMax for doubles.
+     *
+     * @ingroup CUDAWrappers
      */
     inline __device__  double atomicMax_wrapper(double *address, double val)
     {

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.