Reference documentation for deal.II version 9.5.0
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
LinearAlgebra::CUDAWrappers::kernel::ElemSum< Number > Struct Template Reference

#include <deal.II/lac/cuda_kernels.h>

Static Public Member Functions

static Number reduction_op (const Number a, const Number b)
 
static Number atomic_op (Number *dst, const Number a)
 
static Number element_wise_op (const Number a)
 
static Number null_value ()
 

Detailed Description

template<typename Number>
struct LinearAlgebra::CUDAWrappers::kernel::ElemSum< Number >

Structure implementing the functions used to add elements when using a reduction.

Definition at line 210 of file cuda_kernels.h.

Member Function Documentation

◆ reduction_op()

template<typename Number >
static Number LinearAlgebra::CUDAWrappers::kernel::ElemSum< Number >::reduction_op ( const Number  a,
const Number  b 
)
static

◆ atomic_op()

template<typename Number >
static Number LinearAlgebra::CUDAWrappers::kernel::ElemSum< Number >::atomic_op ( Number *  dst,
const Number  a 
)
static

◆ element_wise_op()

template<typename Number >
static Number LinearAlgebra::CUDAWrappers::kernel::ElemSum< Number >::element_wise_op ( const Number  a)
static

◆ null_value()

template<typename Number >
static Number LinearAlgebra::CUDAWrappers::kernel::ElemSum< Number >::null_value ( )
static

The documentation for this struct was generated from the following file: