OpenMPCD
Namespaces | Functions
ImplementationDetails/Average.hpp File Reference
#include <OpenMPCD/CUDA/DeviceMemoryManager.hpp>
#include <thrust/execution_policy.h>
#include <thrust/reduce.h>
Include dependency graph for ImplementationDetails/Average.hpp:
This graph shows which files directly or indirectly include this file:

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

Holds implementation details for OpenMPCD/CUDA/DeviceCode/Average.hpp.

Definition in file ImplementationDetails/Average.hpp.