1 #ifndef HeterogeneousCore_CUDAUtilities_interface_FlexiStorage_h
2 #define HeterogeneousCore_CUDAUtilities_interface_FlexiStorage_h
9 template <
typename I,
int S>
18 constexpr
I const*
data()
const {
return m_v; }
32 constexpr
int capacity()
const {
return m_capacity; }
38 constexpr
I const*
data()
const {
return m_v; }
constexpr I & operator[](int i)
constexpr I & operator[](int i)
uint32_t T const *__restrict__ v
constexpr int capacity() const
constexpr I const * data() const
constexpr int capacity() const
constexpr void init(I *v, int s)
const std::complex< double > I
constexpr I const * data() const
constexpr const I & operator[](int i) const
constexpr const I & operator[](int i) const