#include <PortableHostCollection.h>
Public Types | |
using | Buffer = cms::alpakatools::host_buffer< std::byte[]> |
using | ConstBuffer = cms::alpakatools::const_host_buffer< std::byte[]> |
template<std::size_t Idx = 0, typename = std::enable_if_t<(members_ > Idx> | |
using | ConstView = typename Layout< Idx >::ConstView |
using | Implementation = portablecollection::CollectionImpl< 0, T0, Args... > |
template<std::size_t Idx = 0, typename = std::enable_if_t<(members_ > Idx> | |
using | Layout = portablecollection::TypeResolver< Idx, T0, Args... > |
using | SizesArray = std::array< int32_t, members_ > |
template<std::size_t Idx = 0, typename = std::enable_if_t<(members_ > Idx> | |
using | View = typename Layout< Idx >::View |
Public Member Functions | |
Buffer | buffer () |
ConstBuffer | buffer () const |
ConstBuffer | const_buffer () const |
template<std::size_t Idx = 0, typename = std::enable_if_t<(members_ > Idx> | |
ConstView< Idx > const & | const_view () const |
template<typename T > | |
T::ConstView const & | const_view () const |
template<std::size_t Idx = 0, typename = std::enable_if_t<(members_ > Idx> | |
View< Idx > & | operator* () |
template<std::size_t Idx = 0, typename = std::enable_if_t<(members_ > Idx> | |
ConstView< Idx > const & | operator* () const |
template<typename T > | |
T::View & | operator* () |
template<typename T > | |
T::ConstView const & | operator* () const |
template<std::size_t Idx = 0, typename = std::enable_if_t<(members_ > Idx> | |
View< Idx > * | operator-> () |
template<std::size_t Idx = 0, typename = std::enable_if_t<(members_ > Idx> | |
ConstView< Idx > const * | operator-> () const |
template<typename T > | |
T::View * | operator-> () |
template<typename T > | |
T::ConstView const * | operator-> () const |
PortableHostMultiCollection & | operator= (PortableHostMultiCollection const &)=delete |
PortableHostMultiCollection & | operator= (PortableHostMultiCollection &&)=default |
PortableHostMultiCollection ()=default | |
PortableHostMultiCollection (int32_t elements, alpaka_common::DevHost const &host) | |
template<typename TQueue , typename = std::enable_if_t<alpaka::isQueue<TQueue>>> | |
PortableHostMultiCollection (int32_t elements, TQueue const &queue) | |
PortableHostMultiCollection (const std::array< int32_t, members_ > &sizes, alpaka_common::DevHost const &host) | |
template<typename TQueue , typename = std::enable_if_t<alpaka::isQueue<TQueue>>> | |
PortableHostMultiCollection (const std::array< int32_t, members_ > &sizes, TQueue const &queue) | |
PortableHostMultiCollection (PortableHostMultiCollection const &)=delete | |
PortableHostMultiCollection (PortableHostMultiCollection &&)=default | |
SizesArray | sizes () const |
template<std::size_t Idx = 0, typename = std::enable_if_t<(members_ > Idx> | |
View< Idx > & | view () |
template<std::size_t Idx = 0, typename = std::enable_if_t<(members_ > Idx> | |
ConstView< Idx > const & | view () const |
template<typename T > | |
T::View & | view () |
template<typename T > | |
T::ConstView const & | view () const |
~PortableHostMultiCollection ()=default | |
Static Public Member Functions | |
static void | ROOTReadStreamer (PortableHostMultiCollection *newObj, Implementation &onfileImpl) |
Private Types | |
template<std::size_t Idx> | |
using | Leaf = portablecollection::CollectionLeaf< Idx, Layout< Idx > > |
Private Member Functions | |
template<std::size_t Idx> | |
Leaf< Idx > & | get () |
template<std::size_t Idx> | |
Leaf< Idx > const & | get () const |
template<typename T > | |
portablecollection::CollectionLeaf< index_t_< T >, T > & | get () |
template<typename T > | |
const portablecollection::CollectionLeaf< index_t_< T >, T > & | get () const |
Static Private Member Functions | |
static int32_t | computeDataSize (const std::array< int32_t, members_ > &sizes) |
Private Attributes | |
std::optional< Buffer > | buffer_ |
Implementation | impl_ |
Static Private Attributes | |
template<typename T > | |
static constexpr std::size_t | count_t_ = portablecollection::typeCount<T, T0, Args...> |
template<typename T > | |
static constexpr std::size_t | index_t_ = portablecollection::typeIndex<T, T0, Args...> |
static constexpr std::size_t | members_ = portablecollection::membersCount<T0, Args...> |
Definition at line 92 of file PortableHostCollection.h.
using PortableHostMultiCollection< T0, Args >::Buffer = cms::alpakatools::host_buffer<std::byte[]> |
Definition at line 102 of file PortableHostCollection.h.
using PortableHostMultiCollection< T0, Args >::ConstBuffer = cms::alpakatools::const_host_buffer<std::byte[]> |
Definition at line 103 of file PortableHostCollection.h.
using PortableHostMultiCollection< T0, Args >::ConstView = typename Layout<Idx>::ConstView |
Definition at line 113 of file PortableHostCollection.h.
using PortableHostMultiCollection< T0, Args >::Implementation = portablecollection::CollectionImpl<0, T0, Args...> |
Definition at line 104 of file PortableHostCollection.h.
using PortableHostMultiCollection< T0, Args >::Layout = portablecollection::TypeResolver<Idx, T0, Args...> |
Definition at line 109 of file PortableHostCollection.h.
|
private |
Definition at line 117 of file PortableHostCollection.h.
using PortableHostMultiCollection< T0, Args >::SizesArray = std::array<int32_t, members_> |
Definition at line 106 of file PortableHostCollection.h.
using PortableHostMultiCollection< T0, Args >::View = typename Layout<Idx>::View |
Definition at line 111 of file PortableHostCollection.h.
|
default |
|
inline |
Definition at line 149 of file PortableHostCollection.h.
|
inline |
Definition at line 159 of file PortableHostCollection.h.
|
inline |
Definition at line 168 of file PortableHostCollection.h.
|
inline |
Definition at line 181 of file PortableHostCollection.h.
|
delete |
|
default |
|
default |
|
inline |
Definition at line 277 of file PortableHostCollection.h.
Referenced by cms::alpakatools::CopyToDevice< PortableHostMultiCollection< TDev, T0, Args... > >::copyAsync(), and ALPAKA_ACCELERATOR_NAMESPACE::TestHelperClass::makeAsync().
|
inline |
Definition at line 278 of file PortableHostCollection.h.
|
inlinestaticprivate |
Definition at line 139 of file PortableHostCollection.h.
Referenced by PortableHostMultiCollection< TestSoA, TestSoA2 >::PortableHostMultiCollection().
|
inline |
Definition at line 279 of file PortableHostCollection.h.
|
inline |
Definition at line 216 of file PortableHostCollection.h.
Referenced by TestAlpakaAnalyzer::analyze().
|
inline |
Definition at line 252 of file PortableHostCollection.h.
|
inlineprivate |
Definition at line 120 of file PortableHostCollection.h.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), TestAlpakaAnalyzer::analyze(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), rrapi.RRApi::count(), util.rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), util.rrapi.RRApi::templates(), rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
|
inlineprivate |
Definition at line 125 of file PortableHostCollection.h.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), rrapi.RRApi::count(), util.rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
|
inlineprivate |
Definition at line 130 of file PortableHostCollection.h.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), rrapi.RRApi::count(), util.rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
|
inlineprivate |
Definition at line 135 of file PortableHostCollection.h.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), rrapi.RRApi::count(), util.rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
|
inline |
Definition at line 221 of file PortableHostCollection.h.
|
inline |
Definition at line 226 of file PortableHostCollection.h.
|
inline |
Definition at line 257 of file PortableHostCollection.h.
|
inline |
Definition at line 262 of file PortableHostCollection.h.
|
inline |
Definition at line 231 of file PortableHostCollection.h.
|
inline |
Definition at line 236 of file PortableHostCollection.h.
|
inline |
Definition at line 267 of file PortableHostCollection.h.
|
inline |
Definition at line 272 of file PortableHostCollection.h.
|
delete |
|
default |
|
inlinestatic |
Definition at line 288 of file PortableHostCollection.h.
|
inline |
Definition at line 282 of file PortableHostCollection.h.
Referenced by PortableHostMultiCollection< TestSoA, TestSoA2 >::computeDataSize(), cms::alpakatools::CopyToDevice< PortableHostMultiCollection< TDev, T0, Args... > >::copyAsync(), PortableHostMultiCollection< TestSoA, TestSoA2 >::PortableHostMultiCollection(), and PortableHostMultiCollection< TestSoA, TestSoA2 >::ROOTReadStreamer().
|
inline |
Definition at line 206 of file PortableHostCollection.h.
Referenced by TestAlpakaAnalyzer::analyze().
|
inline |
Definition at line 211 of file PortableHostCollection.h.
|
inline |
Definition at line 242 of file PortableHostCollection.h.
|
inline |
Definition at line 247 of file PortableHostCollection.h.
|
private |
Definition at line 303 of file PortableHostCollection.h.
Referenced by PortableHostMultiCollection< TestSoA, TestSoA2 >::buffer(), and PortableHostMultiCollection< TestSoA, TestSoA2 >::const_buffer().
|
staticprivate |
Definition at line 94 of file PortableHostCollection.h.
|
private |
Definition at line 304 of file PortableHostCollection.h.
Referenced by PortableHostMultiCollection< TestSoA, TestSoA2 >::get().
|
staticprivate |
Definition at line 97 of file PortableHostCollection.h.
|
staticprivate |
Definition at line 99 of file PortableHostCollection.h.