OpenMPCD
|
#include <OpenMPCD/CUDA/DeviceMemoryManager.hpp>
#include <thrust/execution_policy.h>
#include <thrust/reduce.h>
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... | |
Holds implementation details for OpenMPCD/CUDA/DeviceCode/Average.hpp
.
Definition in file ImplementationDetails/Average.hpp.