#include <PortableHostCollection.h>
Public Types | |
using | Buffer = cms::alpakatools::host_buffer< std::byte[]> |
using | ConstBuffer = cms::alpakatools::const_host_buffer< std::byte[]> |
using | ConstView = typename Layout::ConstView |
using | Layout = T |
using | View = typename Layout::View |
Public Member Functions | |
Buffer | buffer () |
ConstBuffer | buffer () const |
ConstBuffer | const_buffer () const |
ConstView const & | const_view () const |
View & | operator* () |
ConstView const & | operator* () const |
View * | operator-> () |
ConstView const * | operator-> () const |
PortableHostCollection & | operator= (PortableHostCollection const &)=delete |
PortableHostCollection & | operator= (PortableHostCollection &&)=default |
PortableHostCollection ()=default | |
PortableHostCollection (int32_t elements, alpaka_common::DevHost const &host) | |
template<typename TQueue , typename = std::enable_if_t<alpaka::isQueue<TQueue>>> | |
PortableHostCollection (int32_t elements, TQueue const &queue) | |
PortableHostCollection (PortableHostCollection const &)=delete | |
PortableHostCollection (PortableHostCollection &&)=default | |
View & | view () |
ConstView const & | view () const |
~PortableHostCollection ()=default | |
Static Public Member Functions | |
static void | ROOTReadStreamer (PortableHostCollection *newObj, Layout &layout) |
Private Attributes | |
std::optional< Buffer > | buffer_ |
Layout | layout_ |
View | view_ |
Definition at line 15 of file PortableHostCollection.h.
using PortableHostCollection< T >::Buffer = cms::alpakatools::host_buffer<std::byte[]> |
Definition at line 20 of file PortableHostCollection.h.
using PortableHostCollection< T >::ConstBuffer = cms::alpakatools::const_host_buffer<std::byte[]> |
Definition at line 21 of file PortableHostCollection.h.
using PortableHostCollection< T >::ConstView = typename Layout::ConstView |
Definition at line 19 of file PortableHostCollection.h.
using PortableHostCollection< T >::Layout = T |
Definition at line 17 of file PortableHostCollection.h.
using PortableHostCollection< T >::View = typename Layout::View |
Definition at line 18 of file PortableHostCollection.h.
|
default |
Referenced by PortableHostCollection< TestSoA >::ROOTReadStreamer().
|
inline |
Definition at line 25 of file PortableHostCollection.h.
|
inline |
Definition at line 35 of file PortableHostCollection.h.
|
delete |
|
default |
|
default |
Referenced by PortableHostCollection< TestSoA >::ROOTReadStreamer().
|
inline |
Definition at line 67 of file PortableHostCollection.h.
Referenced by TestAlpakaAnalyzer::analyze(), cms::alpakatools::CopyToDevice< PortableHostCollection< TLayout > >::copyAsync(), and ALPAKA_ACCELERATOR_NAMESPACE::TestHelperClass::makeAsync().
|
inline |
Definition at line 68 of file PortableHostCollection.h.
|
inline |
Definition at line 69 of file PortableHostCollection.h.
|
inline |
Definition at line 58 of file PortableHostCollection.h.
Referenced by TestAlpakaAnalyzer::analyze(), and LegacyPFRecHitProducer::produce().
|
inline |
Definition at line 60 of file PortableHostCollection.h.
|
inline |
Definition at line 61 of file PortableHostCollection.h.
|
inline |
Definition at line 63 of file PortableHostCollection.h.
|
inline |
Definition at line 64 of file PortableHostCollection.h.
|
delete |
|
default |
|
inlinestatic |
Definition at line 72 of file PortableHostCollection.h.
|
inline |
Definition at line 56 of file PortableHostCollection.h.
Referenced by TestAlpakaAnalyzer::analyze(), and ALPAKA_ACCELERATOR_NAMESPACE::TestAlpakaESProducerC::produce().
|
inline |
Definition at line 57 of file PortableHostCollection.h.
|
private |
Definition at line 84 of file PortableHostCollection.h.
Referenced by PortableHostCollection< TestSoA >::buffer(), and PortableHostCollection< TestSoA >::const_buffer().
|
private |
Definition at line 85 of file PortableHostCollection.h.
Referenced by PortableHostCollection< TestSoA >::ROOTReadStreamer().
|
private |
Definition at line 86 of file PortableHostCollection.h.
Referenced by PortableHostCollection< TestSoA >::const_view(), PortableHostCollection< TestSoA >::operator*(), PortableHostCollection< TestSoA >::operator->(), and PortableHostCollection< TestSoA >::view().