#include <HistoContainer.h>
Public Types | |
using | Counter = uint32_t |
using | CountersOnly = HistoContainer< T, NBINS, 0, S, I, NHISTS > |
using | index_type = I |
using | UT = typename std::make_unsigned< T >::type |
Public Member Functions | |
__attribute__ ((always_inline)) int32_t bulkFill(AtomicPairCounter &apc | |
__attribute__ ((always_inline)) void add(CountersOnly const &co) | |
__attribute__ ((always_inline)) void bulkFinalize(AtomicPairCounter const &apc) | |
__attribute__ ((always_inline)) void bulkFinalizeFill(AtomicPairCounter const &apc) | |
__attribute__ ((always_inline)) void count(T t | |
__attribute__ ((always_inline)) void count(T t) | |
__attribute__ ((always_inline)) void countDirect(T b) | |
__attribute__ ((always_inline)) void fill(T t | |
__attribute__ ((always_inline)) void fill(T t | |
__attribute__ ((always_inline)) void fillDirect(T b | |
__attribute__ ((always_inline)) void final ize(Counter *ws | |
assert (b< nbins()) | |
assert (b< nbins()) | |
assert (b< nbins()) | |
assert (b< totbins()) | |
assert (b< totbins()) | |
assert (w > 0) | |
assert (w > 0) | |
assert (w > 0) | |
atomicIncrement (off[b]) | |
for (uint32_t j=0;j< n;++j) bins[c.n+j] | |
if (c.m >=nbins()) return -int32_t(c.m) | |
void | zero () |
Static Public Member Functions | |
static | __attribute__ ((always_inline)) uint32_t atomicDecrement(Counter &x) |
static | __attribute__ ((always_inline)) uint32_t atomicIncrement(Counter &x) |
static constexpr UT | bin (T t) |
static constexpr uint32_t | capacity () |
static constexpr auto | histOff (uint32_t nh) |
static constexpr uint32_t | ilog2 (uint32_t v) |
static constexpr uint32_t | nbins () |
static constexpr uint32_t | nbits () |
static constexpr uint32_t | nhists () |
static constexpr uint32_t | sizeT () |
static constexpr uint32_t | totbins () |
Public Attributes | |
b = histOff(nh) | |
index_type | bins [capacity()] |
bins [w - 1] = j | |
index_type | j |
return c | m |
const index_type uint32_t | n |
uint32_t | nh |
index_type uint32_t | nh |
off [c.m] = c.n | |
int32_t | psws |
const index_type * | v |
auto | w = atomicDecrement(off[b]) |
Definition at line 152 of file HistoContainer.h.
using cms::cuda::HistoContainer< T, NBINS, SIZE, S, I, NHISTS >::Counter = uint32_t |
Definition at line 154 of file HistoContainer.h.
using cms::cuda::HistoContainer< T, NBINS, SIZE, S, I, NHISTS >::CountersOnly = HistoContainer<T, NBINS, 0, S, I, NHISTS> |
Definition at line 156 of file HistoContainer.h.
using cms::cuda::HistoContainer< T, NBINS, SIZE, S, I, NHISTS >::index_type = I |
Definition at line 158 of file HistoContainer.h.
using cms::cuda::HistoContainer< T, NBINS, SIZE, S, I, NHISTS >::UT = typename std::make_unsigned<T>::type |
Definition at line 159 of file HistoContainer.h.
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
Definition at line 194 of file HistoContainer.h.
References a, cms::cudacompat::atomicAdd(), cms::cuda::co, and mps_fire::i.
|
inline |
Definition at line 245 of file HistoContainer.h.
References cms::cuda::AtomicPairCounter::get(), cms::cuda::AtomicPairCounter::Counters::m, and cms::cuda::AtomicPairCounter::Counters::n.
|
inline |
Definition at line 249 of file HistoContainer.h.
References cms::cudacompat::blockDim, cms::cudacompat::blockIdx, dqmdumpme::first, cms::cuda::AtomicPairCounter::get(), cms::cudacompat::gridDim, mps_fire::i, cms::cuda::AtomicPairCounter::Counters::m, visualization-live-secondInstance_cfg::m, cms::cuda::AtomicPairCounter::Counters::n, cms::cuda::n, LaserClient_cfi::nbins, cms::cudacompat::threadIdx, and cms::cudacompat::dim3::x.
|
inline |
|
inline |
Definition at line 262 of file HistoContainer.h.
References cms::cuda::assert(), b, newFWLiteAna::bin, LaserClient_cfi::nbins, and submitPVValidationJobs::t.
|
inline |
Definition at line 223 of file HistoContainer.h.
References cms::cuda::assert(), b, and LaserClient_cfi::nbins.
|
inline |
|
inline |
|
inline |
|
inlinefinal |
cms::cuda::HistoContainer< T, NBINS, SIZE, S, I, NHISTS >::assert | ( | ) |
cms::cuda::HistoContainer< T, NBINS, SIZE, S, I, NHISTS >::assert | ( | ) |
cms::cuda::HistoContainer< T, NBINS, SIZE, S, I, NHISTS >::assert | ( | ) |
cms::cuda::HistoContainer< T, NBINS, SIZE, S, I, NHISTS >::assert | ( | ) |
cms::cuda::HistoContainer< T, NBINS, SIZE, S, I, NHISTS >::assert | ( | ) |
cms::cuda::HistoContainer< T, NBINS, SIZE, S, I, NHISTS >::assert | ( | w | , |
0 | |||
) |
cms::cuda::HistoContainer< T, NBINS, SIZE, S, I, NHISTS >::assert | ( | w | , |
0 | |||
) |
cms::cuda::HistoContainer< T, NBINS, SIZE, S, I, NHISTS >::assert | ( | w | , |
0 | |||
) |
cms::cuda::HistoContainer< T, NBINS, SIZE, S, I, NHISTS >::atomicIncrement | ( | off | [b] | ) |
|
inlinestaticconstexpr |
Definition at line 183 of file HistoContainer.h.
References edm::shift, and submitPVValidationJobs::t.
|
inlinestaticconstexpr |
Definition at line 179 of file HistoContainer.h.
cms::cuda::HistoContainer< T, NBINS, SIZE, S, I, NHISTS >::for | ( | ) |
|
inlinestaticconstexpr |
Definition at line 181 of file HistoContainer.h.
References NBINS, and cms::cuda::nh.
cms::cuda::HistoContainer< T, NBINS, SIZE, S, I, NHISTS >::if | ( | c.m >= | nbins() | ) |
|
inlinestaticconstexpr |
Definition at line 161 of file HistoContainer.h.
References b, mps_fire::i, alignCSCRings::r, alignCSCRings::s, and cms::cuda::v.
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
Definition at line 178 of file HistoContainer.h.
References NBINS.
|
inlinestaticconstexpr |
Definition at line 176 of file HistoContainer.h.
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inline |
Definition at line 189 of file HistoContainer.h.
References mps_fire::i.
cms::cuda::HistoContainer< T, NBINS, SIZE, S, I, NHISTS >::b = histOff(nh) |
Definition at line 279 of file HistoContainer.h.
index_type cms::cuda::HistoContainer< T, NBINS, SIZE, S, I, NHISTS >::bins[capacity()] |
Definition at line 311 of file HistoContainer.h.
cms::cuda::HistoContainer< T, NBINS, SIZE, S, I, NHISTS >::bins[w - 1] = j |
Definition at line 232 of file HistoContainer.h.
index_type cms::cuda::HistoContainer< T, NBINS, SIZE, S, I, NHISTS >::j |
Definition at line 228 of file HistoContainer.h.
return c cms::cuda::HistoContainer< T, NBINS, SIZE, S, I, NHISTS >::m |
Definition at line 242 of file HistoContainer.h.
const index_type uint32_t cms::cuda::HistoContainer< T, NBINS, SIZE, S, I, NHISTS >::n |
Definition at line 235 of file HistoContainer.h.
uint32_t cms::cuda::HistoContainer< T, NBINS, SIZE, S, I, NHISTS >::nh |
Definition at line 276 of file HistoContainer.h.
index_type uint32_t cms::cuda::HistoContainer< T, NBINS, SIZE, S, I, NHISTS >::nh |
Definition at line 284 of file HistoContainer.h.
cms::cuda::HistoContainer< T, NBINS, SIZE, S, I, NHISTS >::off[c.m] = c.n |
Definition at line 239 of file HistoContainer.h.
int32_t cms::cuda::HistoContainer< T, NBINS, SIZE, S, I, NHISTS >::psws |
Definition at line 310 of file HistoContainer.h.
const index_type* cms::cuda::HistoContainer< T, NBINS, SIZE, S, I, NHISTS >::v |
Definition at line 235 of file HistoContainer.h.
auto cms::cuda::HistoContainer< T, NBINS, SIZE, S, I, NHISTS >::w = atomicDecrement(off[b]) |
Definition at line 230 of file HistoContainer.h.