#include <OneToManyAssoc.h>
Classes | |
struct | View |
struct | zeroAndInit |
Public Types | |
using | Counter = uint32_t |
using | CountersOnly = OneToManyAssocBase< I, ONES, 0 > |
using | index_type = I |
Public Member Functions | |
template<typename TAcc > | |
ALPAKA_FN_ACC ALPAKA_FN_INLINE void | add (const TAcc &acc, CountersOnly const &co) |
constexpr index_type const * | begin () const |
constexpr index_type const * | begin (uint32_t b) const |
constexpr auto | capacity () const |
template<typename TAcc > | |
ALPAKA_FN_ACC ALPAKA_FN_INLINE void | count (const TAcc &acc, I b) |
constexpr index_type const * | end () const |
constexpr index_type const * | end (uint32_t b) const |
template<typename TAcc > | |
ALPAKA_FN_ACC ALPAKA_FN_INLINE void | fill (const TAcc &acc, I b, index_type j) |
ALPAKA_FN_HOST_ACC void | initStorage (View view) |
constexpr auto | nOnes () const |
constexpr auto | size () const |
constexpr auto | size (uint32_t b) const |
constexpr auto | totOnes () const |
ALPAKA_FN_HOST_ACC void | zero () |
Static Public Member Functions | |
template<typename TAcc > | |
ALPAKA_FN_ACC static ALPAKA_FN_INLINE uint32_t | atomicDecrement (const TAcc &acc, Counter &x) |
template<typename TAcc > | |
ALPAKA_FN_ACC static ALPAKA_FN_INLINE uint32_t | atomicIncrement (const TAcc &acc, Counter &x) |
static constexpr int32_t | ctCapacity () |
static constexpr int32_t | ctNOnes () |
template<typename TAcc , typename TQueue > | |
static ALPAKA_FN_INLINE void | launchZero (OneToManyAssocBase *h, TQueue &queue) |
template<typename TAcc , typename TQueue > | |
static ALPAKA_FN_INLINE void | launchZero (View view, TQueue &queue) |
Public Attributes | |
FlexiStorage< index_type, SIZE > | content |
FlexiStorage< Counter, ONES > | off |
int32_t | psws |
Definition at line 22 of file OneToManyAssoc.h.
using cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::Counter = uint32_t |
Definition at line 24 of file OneToManyAssoc.h.
using cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::CountersOnly = OneToManyAssocBase<I, ONES, 0> |
Definition at line 26 of file OneToManyAssoc.h.
using cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::index_type = I |
Definition at line 28 of file OneToManyAssoc.h.
|
inline |
Definition at line 65 of file OneToManyAssoc.h.
References cms::cudacompat::atomicAdd(), cms::cuda::co, cms::alpakatools::FlexiStorage< I, S >::data(), mps_fire::i, cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::off, and cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::totOnes().
Referenced by counter.Counter::register().
|
inlinestatic |
Definition at line 77 of file OneToManyAssoc.h.
References cms::cudacompat::atomicSub(), and x.
Referenced by cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::fill().
|
inlinestatic |
Definition at line 72 of file OneToManyAssoc.h.
References cms::cudacompat::atomicAdd(), and x.
Referenced by cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::count().
|
inline |
Definition at line 146 of file OneToManyAssoc.h.
References cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::content, and cms::alpakatools::FlexiStorage< I, S >::data().
Referenced by cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::end().
|
inline |
Definition at line 149 of file OneToManyAssoc.h.
References b, cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::content, cms::alpakatools::FlexiStorage< I, S >::data(), and cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::off.
|
inline |
Definition at line 42 of file OneToManyAssoc.h.
References cms::alpakatools::FlexiStorage< I, S >::capacity(), and cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::content.
|
inline |
Definition at line 82 of file OneToManyAssoc.h.
References ALPAKA_ACCELERATOR_NAMESPACE::caPixelDoublets::ALPAKA_ASSERT_ACC(), cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::atomicIncrement(), b, cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::nOnes(), and cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::off.
|
inlinestatic |
Definition at line 41 of file OneToManyAssoc.h.
Referenced by cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::initStorage(), and cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::launchZero().
|
inlinestatic |
Definition at line 38 of file OneToManyAssoc.h.
References cms::cuda::ONES.
Referenced by cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::initStorage(), cms::alpakatools::OneToManyAssocRandomAccess< I, NHISTS *NBINS+1, SIZE >::launchFinalize(), and cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::launchZero().
|
inline |
Definition at line 147 of file OneToManyAssoc.h.
References cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::begin(), and cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::size().
|
inline |
Definition at line 150 of file OneToManyAssoc.h.
References b, cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::content, cms::alpakatools::FlexiStorage< I, S >::data(), and cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::off.
|
inline |
Definition at line 88 of file OneToManyAssoc.h.
References ALPAKA_ACCELERATOR_NAMESPACE::caPixelDoublets::ALPAKA_ASSERT_ACC(), cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::atomicDecrement(), b, cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::content, dqmiolumiharvest::j, cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::nOnes(), cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::off, and w().
|
inline |
Definition at line 44 of file OneToManyAssoc.h.
References ALPAKA_ACCELERATOR_NAMESPACE::caPixelDoublets::ALPAKA_ASSERT_ACC(), ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::content, cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::ctCapacity(), cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::ctNOnes(), and cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::off.
|
inlinestatic |
Definition at line 114 of file OneToManyAssoc.h.
References h, and createBeamHaloJobs::queue.
|
inlinestatic |
Definition at line 120 of file OneToManyAssoc.h.
References ALPAKA_ACCELERATOR_NAMESPACE::caPixelDoublets::ALPAKA_ASSERT_ACC(), ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::ctCapacity(), cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::ctNOnes(), h, cms::cuda::nthreads, and createBeamHaloJobs::queue.
|
inline |
Definition at line 40 of file OneToManyAssoc.h.
References cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::totOnes().
Referenced by cms::alpakatools::OneToManyAssocSequential< I, ONES, SIZE >::bulkFinalizeFill(), cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::count(), cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::fill(), and cms::alpakatools::OneToManyAssocRandomAccess< I, NHISTS *NBINS+1, SIZE >::launchFinalize().
|
inline |
Definition at line 143 of file OneToManyAssoc.h.
References cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::off, and cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::totOnes().
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), and cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::end().
|
inline |
Definition at line 144 of file OneToManyAssoc.h.
References b, and cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::off.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
inline |
Definition at line 39 of file OneToManyAssoc.h.
References cms::alpakatools::FlexiStorage< I, S >::capacity(), and cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::off.
Referenced by cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::add(), cms::alpakatools::OneToManyAssocSequential< I, ONES, SIZE >::bulkFinalizeFill(), cms::alpakatools::OneToManyAssocRandomAccess< I, NHISTS *NBINS+1, SIZE >::finalize(), cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::nOnes(), cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::size(), and cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::zero().
|
inline |
Definition at line 58 of file OneToManyAssoc.h.
References mps_fire::i, cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::off, and cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::totOnes().
FlexiStorage<index_type, SIZE> cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::content |
Definition at line 153 of file OneToManyAssoc.h.
Referenced by python.rootplot.utilities.Hist2D::_flat_content(), cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::begin(), python.rootplot.root2matplotlib.Hist2D::box(), cms::alpakatools::OneToManyAssocSequential< I, ONES, SIZE >::bulkFill(), cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::capacity(), python.rootplot.root2matplotlib.Hist2D::col(), python.rootplot.root2matplotlib.Hist2D::contour(), cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::end(), cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::fill(), cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::initStorage(), python.rootplot.utilities.Hist2D::TH2F(), and python.rootplot.root2matplotlib.Hist2D::TH2F().
FlexiStorage<Counter, ONES> cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::off |
Definition at line 152 of file OneToManyAssoc.h.
Referenced by cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::add(), cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::begin(), cms::alpakatools::OneToManyAssocSequential< I, ONES, SIZE >::bulkFill(), cms::alpakatools::OneToManyAssocSequential< I, ONES, SIZE >::bulkFinalize(), cms::alpakatools::OneToManyAssocSequential< I, ONES, SIZE >::bulkFinalizeFill(), cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::count(), cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::end(), cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::fill(), cms::alpakatools::OneToManyAssocRandomAccess< I, NHISTS *NBINS+1, SIZE >::finalize(), cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::initStorage(), cms::alpakatools::OneToManyAssocRandomAccess< I, NHISTS *NBINS+1, SIZE >::launchFinalize(), cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::size(), cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::totOnes(), and cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::zero().
int32_t cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::psws |
Definition at line 154 of file OneToManyAssoc.h.
Referenced by cms::alpakatools::OneToManyAssocRandomAccess< I, NHISTS *NBINS+1, SIZE >::launchFinalize().