OpenMPCD
Namespaces | Functions
Average.hpp File Reference
#include <OpenMPCD/CUDA/DeviceCode/ImplementationDetails/Average.hpp>
Include dependency graph for Average.hpp:

Go to the source code of this file.

Namespaces

 OpenMPCD::CUDA
 Namespace for simulations using CUDA.
 
 OpenMPCD::CUDA::DeviceCode
 Contains CUDA Device code.
 

Functions

template<typename T >
__global__ void OpenMPCD::CUDA::DeviceCode::arithmeticMean_kernel (const T *const values, const std::size_t numberOfValues, T *const output)
 Kernel to compute the arithmetic mean of the given values. More...
 
template<typename T >
void OpenMPCD::CUDA::DeviceCode::arithmeticMean (const T *const values, const std::size_t numberOfValues, T *const output)
 Computes, on the CUDA Device, the arithmetic mean of the given values. More...
 

Detailed Description

Defines CUDA Device functions for averaging.

Definition in file Average.hpp.