From f06293997eea317b907043904f04caddef70df01 Mon Sep 17 00:00:00 2001 From: Bruno Turcksin Date: Sat, 13 May 2017 23:01:25 -0400 Subject: [PATCH] Augment documentation of CUDA atomic. --- include/deal.II/lac/cuda_atomic.cuh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/deal.II/lac/cuda_atomic.cuh b/include/deal.II/lac/cuda_atomic.cuh index e2dd20d87d..ccbc2c61be 100644 --- a/include/deal.II/lac/cuda_atomic.cuh +++ b/include/deal.II/lac/cuda_atomic.cuh @@ -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) { -- 2.39.5