#include <VecArray.h>
Public Types | |
using | self = VecArray< T, maxSize > |
using | value_t = T |
Public Member Functions | |
constexpr T & | back () const |
constexpr T const * | begin () const |
constexpr T * | begin () |
constexpr T const * | data () const |
template<class... Ts> | |
__device__ int | emplace_back (Ts &&...args) |
template<class... Ts> | |
constexpr int | emplace_back_unsafe (Ts &&...args) |
constexpr bool | empty () const |
constexpr T const * | end () const |
constexpr T * | end () |
constexpr bool | full () const |
constexpr T & | operator[] (int i) |
constexpr const T & | operator[] (int i) const |
constexpr T | pop_back () |
__device__ int | push_back (const T &element) |
constexpr int | push_back_unsafe (const T &element) |
constexpr void | reset () |
constexpr void | resize (int size) |
constexpr int | size () const |
Static Public Member Functions | |
static constexpr int | capacity () |
Private Attributes | |
T | m_data [maxSize] |
int | m_size |
Definition at line 14 of file VecArray.h.
using cms::cuda::VecArray< T, maxSize >::self = VecArray<T, maxSize> |
Definition at line 16 of file VecArray.h.
using cms::cuda::VecArray< T, maxSize >::value_t = T |
Definition at line 17 of file VecArray.h.
|
inline |
Definition at line 44 of file VecArray.h.
References cms::cuda::VecArray< T, maxSize >::m_data, and cms::cuda::VecArray< T, maxSize >::m_size.
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
Definition at line 64 of file VecArray.h.
References writedatasetfile::args, cms::cudacompat::atomicAdd(), cms::cudacompat::atomicSub(), cms::cuda::VecArray< T, maxSize >::m_data, cms::cuda::VecArray< T, maxSize >::m_size, and reco_skim_cfg_mod::maxSize.
|
inline |
Definition at line 32 of file VecArray.h.
References writedatasetfile::args, cms::cuda::VecArray< T, maxSize >::m_data, cms::cuda::VecArray< T, maxSize >::m_size, and reco_skim_cfg_mod::maxSize.
|
inline |
|
inline |
Definition at line 84 of file VecArray.h.
References cms::cuda::VecArray< T, maxSize >::m_data, and cms::cuda::VecArray< T, maxSize >::m_size.
|
inline |
Definition at line 86 of file VecArray.h.
References cms::cuda::VecArray< T, maxSize >::m_data, and cms::cuda::VecArray< T, maxSize >::m_size.
|
inline |
Definition at line 95 of file VecArray.h.
References cms::cuda::VecArray< T, maxSize >::m_size, and reco_skim_cfg_mod::maxSize.
|
inline |
Definition at line 88 of file VecArray.h.
References mps_fire::i, and cms::cuda::VecArray< T, maxSize >::m_data.
|
inline |
Definition at line 89 of file VecArray.h.
References mps_fire::i, and cms::cuda::VecArray< T, maxSize >::m_data.
|
inline |
Definition at line 75 of file VecArray.h.
References cms::cuda::VecArray< T, maxSize >::m_data, and cms::cuda::VecArray< T, maxSize >::m_size.
|
inline |
Definition at line 52 of file VecArray.h.
References cms::cudacompat::atomicAdd(), cms::cudacompat::atomicSub(), cms::cuda::VecArray< T, maxSize >::m_data, cms::cuda::VecArray< T, maxSize >::m_size, and reco_skim_cfg_mod::maxSize.
|
inline |
Definition at line 19 of file VecArray.h.
References cms::cuda::VecArray< T, maxSize >::m_data, cms::cuda::VecArray< T, maxSize >::m_size, and reco_skim_cfg_mod::maxSize.
|
inline |
|
inline |
Definition at line 93 of file VecArray.h.
References cms::cuda::VecArray< T, maxSize >::m_size, and cms::cuda::VecArray< T, maxSize >::size().
|
inline |
Definition at line 87 of file VecArray.h.
References cms::cuda::VecArray< T, maxSize >::m_size.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), and cms::cuda::VecArray< T, maxSize >::resize().
|
private |
Definition at line 98 of file VecArray.h.
Referenced by cms::cuda::VecArray< T, maxSize >::back(), cms::cuda::VecArray< T, maxSize >::begin(), cms::cuda::VecArray< T, maxSize >::data(), cms::cuda::VecArray< T, maxSize >::emplace_back(), cms::cuda::VecArray< T, maxSize >::emplace_back_unsafe(), cms::cuda::VecArray< T, maxSize >::end(), cms::cuda::VecArray< T, maxSize >::operator[](), cms::cuda::VecArray< T, maxSize >::pop_back(), cms::cuda::VecArray< T, maxSize >::push_back(), and cms::cuda::VecArray< T, maxSize >::push_back_unsafe().
|
private |
Definition at line 100 of file VecArray.h.
Referenced by cms::cuda::VecArray< T, maxSize >::back(), cms::cuda::VecArray< T, maxSize >::emplace_back(), cms::cuda::VecArray< T, maxSize >::emplace_back_unsafe(), cms::cuda::VecArray< T, maxSize >::empty(), cms::cuda::VecArray< T, maxSize >::end(), cms::cuda::VecArray< T, maxSize >::full(), cms::cuda::VecArray< T, maxSize >::pop_back(), cms::cuda::VecArray< T, maxSize >::push_back(), cms::cuda::VecArray< T, maxSize >::push_back_unsafe(), cms::cuda::VecArray< T, maxSize >::reset(), cms::cuda::VecArray< T, maxSize >::resize(), and cms::cuda::VecArray< T, maxSize >::size().