1 #ifndef SKA_CHEETAH_DRED_CUDA_DETAIL_MEDIANSCRUNCH_H 2 #define SKA_CHEETAH_DRED_CUDA_DETAIL_MEDIANSCRUNCH_H 4 #include "cheetah/cuda_utils/cuda_thrust.h" 12 template <
typename T>
inline __host__ __device__ T median3(T a, T b, T c);
13 template <
typename T>
inline __host__ __device__ T median4(T a, T b, T c, T d);
14 template <
typename T>
inline __host__ __device__ T median5(T a, T b, T c, T d, T e);
21 inline __host__ __device__ T operator()(
unsigned int i)
const;
32 inline __host__ __device__ T operator()(
unsigned out_idx)
const;
42 #include "cheetah/dred/cuda/detail/MedianScrunch.cu" 44 #endif // SKA_CHEETAH_DETAIL_MEDIANSCRUNCH_H Some limits and constants for FLDO.