1#ifndef PRDC_CUDA_REDUCE_H
2#define PRDC_CUDA_REDUCE_H
12#include <pscf/cuda/DeviceArray.h>
65cudaReal
sum(DeviceArray<cudaReal>
const & in);
72cudaReal
max(DeviceArray<cudaReal>
const & in);
79cudaReal
maxAbs(DeviceArray<cudaReal>
const & in);
86cudaReal
min(DeviceArray<cudaReal>
const & in);
93cudaReal
minAbs(DeviceArray<cudaReal>
const & in);
102 DeviceArray<cudaReal>
const & b);
double minAbs(Array< double > const &in)
Get minimum absolute magnitude of array elements .
double sum(Array< double > const &in)
Compute sum of array elements .
double maxAbs(Array< double > const &in)
Get maximum absolute magnitude of array elements .
double innerProduct(Array< double > const &a, Array< double > const &b)
Compute inner product of two real arrays .
double max(Array< double > const &in)
Get maximum of array elements .
double min(Array< double > const &in)
Get minimum of array elements .
Functions that perform parallel reductions on the GPU.
Fields, FFTs, and utilities for periodic boundary conditions (CUDA)
Periodic fields and crystallography.
PSCF package top-level namespace.