#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 |
template<typename TQueue , typename = std::enable_if_t<alpaka::isQueue<TQueue>>> | |
void | zeroInitialise (TQueue &&queue) |
~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 87 of file PortableDeviceCollection.h.
using PortableDeviceMultiCollection< TDev, T0, Args >::Buffer = cms::alpakatools::device_buffer<TDev, std::byte[]> |
Definition at line 101 of file PortableDeviceCollection.h.
using PortableDeviceMultiCollection< TDev, T0, Args >::ConstBuffer = cms::alpakatools::const_device_buffer<TDev, std::byte[]> |
Definition at line 102 of file PortableDeviceCollection.h.
using PortableDeviceMultiCollection< TDev, T0, Args >::ConstView = typename std::tuple_element<Idx, std::tuple<T0, Args...> >::type::ConstView |
Definition at line 120 of file PortableDeviceCollection.h.
using PortableDeviceMultiCollection< TDev, T0, Args >::Implementation = portablecollection::CollectionImpl<0, T0, Args...> |
Definition at line 103 of file PortableDeviceCollection.h.
using PortableDeviceMultiCollection< TDev, T0, Args >::Layout = portablecollection::TypeResolver<Idx, T0, Args...> |
Definition at line 108 of file PortableDeviceCollection.h.
|
private |
Definition at line 124 of file PortableDeviceCollection.h.
using PortableDeviceMultiCollection< TDev, T0, Args >::SizesArray = std::array<int32_t, members_> |
Definition at line 105 of file PortableDeviceCollection.h.
using PortableDeviceMultiCollection< TDev, T0, Args >::View = typename std::tuple_element<Idx, std::tuple<T0, Args...> >::type::View |
Definition at line 114 of file PortableDeviceCollection.h.
|
default |
|
inline |
Definition at line 149 of file PortableDeviceCollection.h.
References bookConverter::elements.
|
inline |
Definition at line 158 of file PortableDeviceCollection.h.
References bookConverter::elements, and createBeamHaloJobs::queue.
|
inline |
Definition at line 173 of file PortableDeviceCollection.h.
References PortableDeviceMultiCollection< TDev, T0, Args >::computeDataSize(), and PortableDeviceMultiCollection< TDev, T0, Args >::sizes().
|
inline |
Definition at line 185 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 280 of file PortableDeviceCollection.h.
References PortableDeviceMultiCollection< TDev, T0, Args >::buffer_.
Referenced by cms::alpakatools::CopyToHost< PortableDeviceMultiCollection< TDev, T0, Args... > >::copyAsync().
|
inline |
Definition at line 281 of file PortableDeviceCollection.h.
References PortableDeviceMultiCollection< TDev, T0, Args >::buffer_.
|
inlinestatic |
Definition at line 166 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 282 of file PortableDeviceCollection.h.
References PortableDeviceMultiCollection< TDev, T0, Args >::buffer_.
|
inline |
Definition at line 219 of file PortableDeviceCollection.h.
|
inline |
Definition at line 255 of file PortableDeviceCollection.h.
|
inlineprivate |
Definition at line 127 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 132 of file PortableDeviceCollection.h.
References Options::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 137 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 142 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 224 of file PortableDeviceCollection.h.
|
inline |
Definition at line 229 of file PortableDeviceCollection.h.
|
inline |
Definition at line 260 of file PortableDeviceCollection.h.
|
inline |
Definition at line 265 of file PortableDeviceCollection.h.
|
inline |
Definition at line 234 of file PortableDeviceCollection.h.
|
inline |
Definition at line 239 of file PortableDeviceCollection.h.
|
inline |
Definition at line 270 of file PortableDeviceCollection.h.
|
inline |
Definition at line 275 of file PortableDeviceCollection.h.
|
delete |
|
default |
|
inline |
Definition at line 291 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 209 of file PortableDeviceCollection.h.
|
inline |
Definition at line 214 of file PortableDeviceCollection.h.
|
inline |
Definition at line 245 of file PortableDeviceCollection.h.
|
inline |
Definition at line 250 of file PortableDeviceCollection.h.
|
inline |
Definition at line 286 of file PortableDeviceCollection.h.
References PortableDeviceMultiCollection< TDev, T0, Args >::buffer_, and createBeamHaloJobs::queue.
|
private |
|
staticprivate |
Definition at line 93 of file PortableDeviceCollection.h.
|
private |
Definition at line 299 of file PortableDeviceCollection.h.
Referenced by PortableDeviceMultiCollection< TDev, T0, Args >::get().
|
staticprivate |
Definition at line 96 of file PortableDeviceCollection.h.
|
staticprivate |
Definition at line 98 of file PortableDeviceCollection.h.