#include <OneToManyAssoc.h>
Public Types | |
using | Counter = uint32_t |
using | CountersOnly = OneToManyAssoc< I, ONES, 0 > |
using | index_type = I |
using | View = OneToManyAssocView< OneToManyAssoc< I, ONES, SIZE > > |
Public Member Functions | |
__host__ __device__ | __attribute__ ((always_inline)) void add(CountersOnly const &co) |
__host__ __device__ | __attribute__ ((always_inline)) void count(int32_t b) |
__host__ __device__ | __attribute__ ((always_inline)) void fill(int32_t b |
__host__ __device__ | __attribute__ ((always_inline)) int32_t bulkFill(AtomicPairCounter &apc |
__host__ __device__ | __attribute__ ((always_inline)) void bulkFinalize(AtomicPairCounter const &apc) |
__host__ __device__ | __attribute__ ((always_inline)) void bulkFinalizeFill(AtomicPairCounter const &apc) |
__host__ __device__ | __attribute__ ((always_inline)) void final ize(Counter *ws |
assert (w > 0) | |
constexpr auto | capacity () const |
for (uint32_t j=0;j< n;++j) content[c.n+j] | |
if (int(c.m) >=nOnes()) return -int32_t(c.m) | |
__host__ __device__ void | initStorage (View view) |
constexpr auto | nOnes () const |
constexpr auto | totOnes () const |
__host__ __device__ void | zero () |
Static Public Member Functions | |
static __host__ __device__ | __attribute__ ((always_inline)) uint32_t atomicIncrement(Counter &x) |
static __host__ __device__ | __attribute__ ((always_inline)) uint32_t atomicDecrement(Counter &x) |
static constexpr int32_t | ctCapacity () |
static constexpr int32_t | ctNOnes () |
static constexpr uint32_t | ilog2 (uint32_t v) |
Public Attributes | |
content [w - 1] = j | |
FlexiStorage< index_type, SIZE > | content |
__host__ __device__ index_type | j |
return c | m |
__host__ __device__ index_type const uint32_t | n |
off [c.m] = c.n | |
__host__ __device__ ONES | off |
int32_t | psws |
__host__ __device__ index_type const * | v |
auto | w = atomicDecrement(off[b]) |
Definition at line 143 of file OneToManyAssoc.h.
using cms::cuda::OneToManyAssoc::Counter = uint32_t |
Definition at line 146 of file OneToManyAssoc.h.
using cms::cuda::OneToManyAssoc::CountersOnly = OneToManyAssoc<I, ONES, 0> |
Definition at line 148 of file OneToManyAssoc.h.
using cms::cuda::OneToManyAssoc::index_type = I |
Definition at line 150 of file OneToManyAssoc.h.
using cms::cuda::OneToManyAssoc::View = OneToManyAssocView<OneToManyAssoc<I, ONES, SIZE> > |
Definition at line 145 of file OneToManyAssoc.h.
|
inline |
Definition at line 191 of file OneToManyAssoc.h.
|
inlinestatic |
Definition at line 202 of file OneToManyAssoc.h.
|
inlinestatic |
Definition at line 211 of file OneToManyAssoc.h.
|
inline |
Definition at line 220 of file OneToManyAssoc.h.
|
inline |
|
inline |
|
inline |
Definition at line 242 of file OneToManyAssoc.h.
|
inline |
Definition at line 246 of file OneToManyAssoc.h.
|
inlinefinal |
cms::cuda::OneToManyAssoc::assert | ( | w | , |
0 | |||
) |
|
inline |
Definition at line 169 of file OneToManyAssoc.h.
|
inlinestatic |
Definition at line 168 of file OneToManyAssoc.h.
Referenced by cms::cuda::OneToManyAssoc< I, NHISTS *NBINS+1, SIZE >::initStorage().
|
inlinestatic |
Definition at line 165 of file OneToManyAssoc.h.
Referenced by cms::cuda::OneToManyAssoc< I, NHISTS *NBINS+1, SIZE >::initStorage().
cms::cuda::OneToManyAssoc::for | ( | ) |
cms::cuda::OneToManyAssoc::if | ( | int(c.m) >=nOnes() | ) |
|
inlinestatic |
Definition at line 152 of file OneToManyAssoc.h.
|
inline |
Definition at line 171 of file OneToManyAssoc.h.
|
inline |
Definition at line 167 of file OneToManyAssoc.h.
Referenced by cms::cuda::OneToManyAssoc< I, NHISTS *NBINS+1, SIZE >::__attribute__().
|
inline |
Definition at line 166 of file OneToManyAssoc.h.
Referenced by cms::cuda::OneToManyAssoc< I, NHISTS *NBINS+1, SIZE >::__attribute__(), cms::cuda::OneToManyAssoc< I, NHISTS *NBINS+1, SIZE >::nOnes(), and cms::cuda::OneToManyAssoc< I, NHISTS *NBINS+1, SIZE >::zero().
|
inline |
Definition at line 185 of file OneToManyAssoc.h.
Definition at line 229 of file OneToManyAssoc.h.
Referenced by python.rootplot.utilities.Hist2D::_flat_content(), python.rootplot.root2matplotlib.Hist2D::box(), cms::cuda::OneToManyAssoc< I, NHISTS *NBINS+1, SIZE >::capacity(), python.rootplot.root2matplotlib.Hist2D::col(), python.rootplot.root2matplotlib.Hist2D::contour(), cms::cuda::OneToManyAssoc< I, NHISTS *NBINS+1, SIZE >::initStorage(), python.rootplot.utilities.Hist2D::TH2F(), and python.rootplot.root2matplotlib.Hist2D::TH2F().
FlexiStorage<index_type, SIZE> cms::cuda::OneToManyAssoc::content |
Definition at line 276 of file OneToManyAssoc.h.
Referenced by python.rootplot.utilities.Hist2D::_flat_content(), python.rootplot.root2matplotlib.Hist2D::box(), python.rootplot.root2matplotlib.Hist2D::col(), python.rootplot.root2matplotlib.Hist2D::contour(), python.rootplot.utilities.Hist2D::TH2F(), and python.rootplot.root2matplotlib.Hist2D::TH2F().
__host__ __device__ index_type cms::cuda::OneToManyAssoc::j |
Definition at line 225 of file OneToManyAssoc.h.
return c cms::cuda::OneToManyAssoc::m |
Definition at line 239 of file OneToManyAssoc.h.
Referenced by cms::cuda::OneToManyAssoc< I, NHISTS *NBINS+1, SIZE >::__attribute__().
__host__ __device__ index_type const uint32_t cms::cuda::OneToManyAssoc::n |
Definition at line 232 of file OneToManyAssoc.h.
Referenced by cms::cuda::OneToManyAssoc< I, NHISTS *NBINS+1, SIZE >::__attribute__(), and output.OutputBranch::fill().
cms::cuda::OneToManyAssoc::off[c.m] = c.n |
Definition at line 236 of file OneToManyAssoc.h.
Referenced by cms::cuda::OneToManyAssoc< I, NHISTS *NBINS+1, SIZE >::__attribute__(), gpuVertexFinder::for(), cms::cuda::OneToManyAssoc< I, NHISTS *NBINS+1, SIZE >::initStorage(), cms::cuda::OneToManyAssoc< I, NHISTS *NBINS+1, SIZE >::totOnes(), and cms::cuda::OneToManyAssoc< I, NHISTS *NBINS+1, SIZE >::zero().
__host__ __device__ ONES cms::cuda::OneToManyAssoc::off |
Definition at line 274 of file OneToManyAssoc.h.
int32_t cms::cuda::OneToManyAssoc::psws |
Definition at line 275 of file OneToManyAssoc.h.
__host__ __device__ index_type const* cms::cuda::OneToManyAssoc::v |
Definition at line 232 of file OneToManyAssoc.h.
Referenced by cms::cuda::OneToManyAssoc< I, NHISTS *NBINS+1, SIZE >::ilog2().
Definition at line 227 of file OneToManyAssoc.h.