OpenLB 1.7
|
Function object for simulateneously computing maximum and sum in a single thrust::reduce. More...
#include <statistics.hh>
Public Types | |
using | first_argument_type = pair<T,T> |
using | second_argument_type = pair<T,T> |
using | result_type = pair<T,T> |
Public Member Functions | |
__device__ result_type | operator() (const first_argument_type &lhs, const second_argument_type &rhs) const |
Function object for simulateneously computing maximum and sum in a single thrust::reduce.
Definition at line 63 of file statistics.hh.
using olb::gpu::cuda::maximum_and_plus< T >::first_argument_type = pair<T,T> |
Definition at line 64 of file statistics.hh.
using olb::gpu::cuda::maximum_and_plus< T >::result_type = pair<T,T> |
Definition at line 66 of file statistics.hh.
using olb::gpu::cuda::maximum_and_plus< T >::second_argument_type = pair<T,T> |
Definition at line 65 of file statistics.hh.
|
inline |
Definition at line 68 of file statistics.hh.
References olb::gpu::cuda::pair< T, U >::first, and olb::gpu::cuda::pair< T, U >::second.