Hydra  4.0.1
A header-only templated C++ framework to perform data analysis on massively parallel platforms.
hydra::detail::GetGlobalBin< N, T > Struct Template Reference

#include <GetGlobalBin.h>

Inheritance diagram for hydra::detail::GetGlobalBin< N, T >:
Collaboration diagram for hydra::detail::GetGlobalBin< N, T >:

Public Types

typedef tuple_type< N, T >::type ArgType
 

Public Member Functions

 GetGlobalBin (size_t(&grid)[N], T(&lowerlimits)[N], T(&upperlimits)[N])
 
__hydra_host__ __hydra_device__ GetGlobalBin (GetGlobalBin< N, T > const &other)
 
__hydra_host__ __hydra_device__ size_t get_bin (T(&X)[N]) const
 
template<size_t I>
__hydra_host__ __hydra_device__ hydra::thrust::detail::enable_if< I==N, void >::type get_global_bin (const size_t(&)[N], size_t &) const
 
template<size_t I = 0>
__hydra_host__ __hydra_device__ hydra::thrust::detail::enable_if<(I< N), void >::type get_global_bin (const size_t(&indexes)[N], size_t &index) const
 
__hydra_host__ __hydra_device__ size_t operator() (ArgType const &value) const
 
__hydra_host__ __hydra_device__ GetGlobalBin< N, T > & operator= (GetGlobalBin< N, T > const &other)
 

Data Fields

fDelta [N]
 
size_t fGrid [N]
 
fLowerLimits [N]
 
size_t fNGlobalBins
 

Detailed Description

template<size_t N, typename T>
struct hydra::detail::GetGlobalBin< N, T >

Member Typedef Documentation

◆ ArgType

template<size_t N, typename T >
typedef tuple_type<N,T>::type hydra::detail::GetGlobalBin< N, T >::ArgType

Constructor & Destructor Documentation

◆ GetGlobalBin() [1/2]

template<size_t N, typename T >
hydra::detail::GetGlobalBin< N, T >::GetGlobalBin ( size_t(&)  grid[N],
T(&)  lowerlimits[N],
T(&)  upperlimits[N] 
)
inline

◆ GetGlobalBin() [2/2]

template<size_t N, typename T >
__hydra_host__ __hydra_device__ hydra::detail::GetGlobalBin< N, T >::GetGlobalBin ( GetGlobalBin< N, T > const &  other)
inline

Member Function Documentation

◆ get_bin()

template<size_t N, typename T >
__hydra_host__ __hydra_device__ size_t hydra::detail::GetGlobalBin< N, T >::get_bin ( T(&)  X[N]) const
inline

◆ get_global_bin() [1/2]

template<size_t N, typename T >
template<size_t I>
__hydra_host__ __hydra_device__ hydra::thrust::detail::enable_if< I== N, void>::type hydra::detail::GetGlobalBin< N, T >::get_global_bin ( const   size_t(&)[N],
size_t &   
) const
inline

◆ get_global_bin() [2/2]

template<size_t N, typename T >
template<size_t I = 0>
__hydra_host__ __hydra_device__ hydra::thrust::detail::enable_if< (I< N), void>::type hydra::detail::GetGlobalBin< N, T >::get_global_bin ( const size_t(&)  indexes[N],
size_t &  index 
) const
inline

◆ operator()()

template<size_t N, typename T >
__hydra_host__ __hydra_device__ size_t hydra::detail::GetGlobalBin< N, T >::operator() ( ArgType const &  value) const
inline

◆ operator=()

template<size_t N, typename T >
__hydra_host__ __hydra_device__ GetGlobalBin<N, T>& hydra::detail::GetGlobalBin< N, T >::operator= ( GetGlobalBin< N, T > const &  other)
inline

Field Documentation

◆ fDelta

template<size_t N, typename T >
T hydra::detail::GetGlobalBin< N, T >::fDelta[N]

◆ fGrid

template<size_t N, typename T >
size_t hydra::detail::GetGlobalBin< N, T >::fGrid[N]

◆ fLowerLimits

template<size_t N, typename T >
T hydra::detail::GetGlobalBin< N, T >::fLowerLimits[N]

◆ fNGlobalBins

template<size_t N, typename T >
size_t hydra::detail::GetGlobalBin< N, T >::fNGlobalBins

The documentation for this struct was generated from the following file: