#include <PortableDeviceCollection.h>
Public Types | |
using | Buffer = cms::alpakatools::device_buffer< TDev, std::byte[]> |
using | ConstBuffer = cms::alpakatools::const_device_buffer< TDev, std::byte[]> |
template<std::size_t Idx = 0UL> | |
using | ConstView = typename std::tuple_element< Idx, std::tuple< T0, Args... > >::type::ConstView |
using | Implementation = portablecollection::CollectionImpl< 0, T0, Args... > |
template<std::size_t Idx = 0> | |
using | Layout = portablecollection::TypeResolver< Idx, T0, Args... > |
using | SizesArray = std::array< int32_t, members_ > |
template<std::size_t Idx = 0UL> | |
using | View = typename std::tuple_element< Idx, std::tuple< T0, Args... > >::type::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 |
PortableDeviceMultiCollection & | operator= (PortableDeviceMultiCollection const &)=delete |
PortableDeviceMultiCollection & | operator= (PortableDeviceMultiCollection &&)=default |
PortableDeviceMultiCollection ()=default | |
PortableDeviceMultiCollection (int32_t elements, TDev const &device) | |
template<typename TQueue , typename = std::enable_if_t<alpaka::isQueue<TQueue>>> | |
PortableDeviceMultiCollection (int32_t elements, TQueue const &queue) | |
PortableDeviceMultiCollection (const SizesArray &sizes, TDev const &device) | |
template<typename TQueue , typename = std::enable_if_t<alpaka::isQueue<TQueue>>> | |
PortableDeviceMultiCollection (const SizesArray &sizes, TQueue const &queue) | |
PortableDeviceMultiCollection (PortableDeviceMultiCollection const &)=delete | |
PortableDeviceMultiCollection (PortableDeviceMultiCollection &&)=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 |
~PortableDeviceMultiCollection ()=default | |
Static Public Member Functions | |
static int32_t | computeDataSize (const SizesArray &sizes) |
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 > | |
Leaf< index_t_< T > > & | get () |
template<typename T > | |
Leaf< index_t_< T > > const & | get () const |
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_ = sizeof...(Args) + 1 |
Definition at line 81 of file PortableDeviceCollection.h.
using PortableDeviceMultiCollection< TDev, T0, Args >::Buffer = cms::alpakatools::device_buffer<TDev, std::byte[]> |
Definition at line 95 of file PortableDeviceCollection.h.
using PortableDeviceMultiCollection< TDev, T0, Args >::ConstBuffer = cms::alpakatools::const_device_buffer<TDev, std::byte[]> |
Definition at line 96 of file PortableDeviceCollection.h.
using PortableDeviceMultiCollection< TDev, T0, Args >::ConstView = typename std::tuple_element<Idx, std::tuple<T0, Args...> >::type::ConstView |
Definition at line 114 of file PortableDeviceCollection.h.
using PortableDeviceMultiCollection< TDev, T0, Args >::Implementation = portablecollection::CollectionImpl<0, T0, Args...> |
Definition at line 97 of file PortableDeviceCollection.h.
using PortableDeviceMultiCollection< TDev, T0, Args >::Layout = portablecollection::TypeResolver<Idx, T0, Args...> |
Definition at line 102 of file PortableDeviceCollection.h.
|
private |
Definition at line 118 of file PortableDeviceCollection.h.
using PortableDeviceMultiCollection< TDev, T0, Args >::SizesArray = std::array<int32_t, members_> |
Definition at line 99 of file PortableDeviceCollection.h.
using PortableDeviceMultiCollection< TDev, T0, Args >::View = typename std::tuple_element<Idx, std::tuple<T0, Args...> >::type::View |
Definition at line 108 of file PortableDeviceCollection.h.
|
default |
|
inline |
Definition at line 143 of file PortableDeviceCollection.h.
References bookConverter::elements.
|
inline |
Definition at line 152 of file PortableDeviceCollection.h.
References bookConverter::elements, and createBeamHaloJobs::queue.
|
inline |
Definition at line 167 of file PortableDeviceCollection.h.
References PortableDeviceMultiCollection< TDev, T0, Args >::computeDataSize(), and PortableDeviceMultiCollection< TDev, T0, Args >::sizes().
|
inline |
Definition at line 179 of file PortableDeviceCollection.h.
References PortableDeviceMultiCollection< TDev, T0, Args >::computeDataSize(), createBeamHaloJobs::queue, and PortableDeviceMultiCollection< TDev, T0, Args >::sizes().
|
delete |
|
default |
|
default |
|
inline |
Definition at line 274 of file PortableDeviceCollection.h.
References PortableDeviceMultiCollection< TDev, T0, Args >::buffer_.
Referenced by cms::alpakatools::CopyToHost< PortableDeviceMultiCollection< TDev, T0, Args... > >::copyAsync().
|
inline |
Definition at line 275 of file PortableDeviceCollection.h.
References PortableDeviceMultiCollection< TDev, T0, Args >::buffer_.
|
inlinestatic |
Definition at line 160 of file PortableDeviceCollection.h.
References mps_fire::i, runTheMatrix::ret, and PortableDeviceMultiCollection< TDev, T0, Args >::sizes().
Referenced by PortableDeviceMultiCollection< TDev, T0, Args >::PortableDeviceMultiCollection().
|
inline |
Definition at line 276 of file PortableDeviceCollection.h.
References PortableDeviceMultiCollection< TDev, T0, Args >::buffer_.
|
inline |
Definition at line 213 of file PortableDeviceCollection.h.
|
inline |
Definition at line 249 of file PortableDeviceCollection.h.
|
inlineprivate |
Definition at line 121 of file PortableDeviceCollection.h.
References PortableDeviceMultiCollection< TDev, T0, Args >::impl_.
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 126 of file PortableDeviceCollection.h.
References runTheMatrix::const, and PortableDeviceMultiCollection< TDev, T0, Args >::impl_.
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 131 of file PortableDeviceCollection.h.
References PortableDeviceMultiCollection< TDev, T0, Args >::impl_.
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 136 of file PortableDeviceCollection.h.
References PortableDeviceMultiCollection< TDev, T0, Args >::impl_.
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 218 of file PortableDeviceCollection.h.
|
inline |
Definition at line 223 of file PortableDeviceCollection.h.
|
inline |
Definition at line 254 of file PortableDeviceCollection.h.
|
inline |
Definition at line 259 of file PortableDeviceCollection.h.
|
inline |
Definition at line 228 of file PortableDeviceCollection.h.
|
inline |
Definition at line 233 of file PortableDeviceCollection.h.
|
inline |
Definition at line 264 of file PortableDeviceCollection.h.
|
inline |
Definition at line 269 of file PortableDeviceCollection.h.
|
delete |
|
default |
|
inline |
Definition at line 279 of file PortableDeviceCollection.h.
References mps_fire::i, and runTheMatrix::ret.
Referenced by PortableDeviceMultiCollection< TDev, T0, Args >::computeDataSize(), cms::alpakatools::CopyToHost< PortableDeviceMultiCollection< TDev, T0, Args... > >::copyAsync(), and PortableDeviceMultiCollection< TDev, T0, Args >::PortableDeviceMultiCollection().
|
inline |
Definition at line 203 of file PortableDeviceCollection.h.
|
inline |
Definition at line 208 of file PortableDeviceCollection.h.
|
inline |
Definition at line 239 of file PortableDeviceCollection.h.
|
inline |
Definition at line 244 of file PortableDeviceCollection.h.
|
private |
Definition at line 286 of file PortableDeviceCollection.h.
Referenced by PortableDeviceMultiCollection< TDev, T0, Args >::buffer(), and PortableDeviceMultiCollection< TDev, T0, Args >::const_buffer().
|
staticprivate |
Definition at line 87 of file PortableDeviceCollection.h.
|
private |
Definition at line 287 of file PortableDeviceCollection.h.
Referenced by PortableDeviceMultiCollection< TDev, T0, Args >::get().
|
staticprivate |
Definition at line 90 of file PortableDeviceCollection.h.
|
staticprivate |
Definition at line 92 of file PortableDeviceCollection.h.