CMS 3D CMS Logo

Classes | Namespaces | Functions
HistoContainer.h File Reference
#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <type_traits>
#include <alpaka/alpaka.hpp>
#include "HeterogeneousCore/AlpakaInterface/interface/AtomicPairCounter.h"
#include "HeterogeneousCore/AlpakaInterface/interface/OneToManyAssoc.h"
#include "HeterogeneousCore/AlpakaInterface/interface/alpakastdAlgorithm.h"
#include "HeterogeneousCore/AlpakaInterface/interface/memory.h"
#include "HeterogeneousCore/AlpakaInterface/interface/prefixScan.h"
#include "HeterogeneousCore/AlpakaInterface/interface/workdivision.h"

Go to the source code of this file.

Classes

struct  cms::alpakatools::countFromVector
 
struct  cms::alpakatools::fillFromVector
 
class  cms::alpakatools::HistoContainer< T, NBINS, SIZE, S, I, NHISTS >
 

Namespaces

 cms::alpakatools
 

Functions

template<typename TAcc , typename Histo , typename T , typename TQueue >
ALPAKA_FN_INLINE void cms::alpakatools::fillManyFromVector (Histo *__restrict__ h, uint32_t nh, T const *__restrict__ v, uint32_t const *__restrict__ offsets, uint32_t totSize, uint32_t nthreads, TQueue &queue)
 
template<typename TAcc , typename Histo , typename T , typename TQueue >
ALPAKA_FN_INLINE void cms::alpakatools::fillManyFromVector (Histo *__restrict__ h, typename Histo::View hv, uint32_t nh, T const *__restrict__ v, uint32_t const *__restrict__ offsets, uint32_t totSize, uint32_t nthreads, TQueue &queue)
 
template<typename Hist , typename V , typename Func >
ALPAKA_FN_ACC ALPAKA_FN_INLINE void cms::alpakatools::forEachInBins (Hist const &hist, V value, int n, Func func)
 
template<typename Hist , typename V , typename Func >
ALPAKA_FN_ACC ALPAKA_FN_INLINE void cms::alpakatools::forEachInWindow (Hist const &hist, V wmin, V wmax, Func const &func)