#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 |
void | zeroInitialise () |
template<typename TQueue , typename = std::enable_if_t<alpaka::isQueue<TQueue>>> | |
void | zeroInitialise (TQueue &&queue) |
~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 16 of file PortableHostCollection.h.
using PortableHostCollection< T >::Buffer = cms::alpakatools::host_buffer<std::byte[]> |
Definition at line 21 of file PortableHostCollection.h.
using PortableHostCollection< T >::ConstBuffer = cms::alpakatools::const_host_buffer<std::byte[]> |
Definition at line 22 of file PortableHostCollection.h.
using PortableHostCollection< T >::ConstView = typename Layout::ConstView |
Definition at line 20 of file PortableHostCollection.h.
using PortableHostCollection< T >::Layout = T |
Definition at line 18 of file PortableHostCollection.h.
using PortableHostCollection< T >::View = typename Layout::View |
Definition at line 19 of file PortableHostCollection.h.
|
default |
Referenced by PortableHostCollection< TestSoA >::ROOTReadStreamer().
|
inline |
Definition at line 26 of file PortableHostCollection.h.
|
inline |
Definition at line 36 of file PortableHostCollection.h.
|
delete |
|
default |
|
default |
Referenced by PortableHostCollection< TestSoA >::ROOTReadStreamer().
|
inline |
Definition at line 68 of file PortableHostCollection.h.
Referenced by TestAlpakaAnalyzer::analyze(), cms::alpakatools::CopyToDevice< PortableHostCollection< TLayout > >::copyAsync(), and ALPAKA_ACCELERATOR_NAMESPACE::TestHelperClass::makeAsync().
|
inline |
Definition at line 69 of file PortableHostCollection.h.
|
inline |
Definition at line 70 of file PortableHostCollection.h.
|
inline |
Definition at line 59 of file PortableHostCollection.h.
Referenced by TestAlpakaAnalyzer::analyze(), L2TauNNProducerAlpaka::fillPatatracks(), LegacyPFRecHitProducer::produce(), and L2TauNNProducerAlpaka::selectGoodTracksAndVertices().
|
inline |
Definition at line 61 of file PortableHostCollection.h.
|
inline |
Definition at line 62 of file PortableHostCollection.h.
|
inline |
Definition at line 64 of file PortableHostCollection.h.
|
inline |
Definition at line 65 of file PortableHostCollection.h.
|
delete |
|
default |
|
inlinestatic |
Definition at line 83 of file PortableHostCollection.h.
|
inline |
Definition at line 57 of file PortableHostCollection.h.
Referenced by TestAlpakaAnalyzer::analyze(), L2TauNNProducerAlpaka::fillPatatracks(), L2TauNNProducerAlpaka::impactParameter(), ALPAKA_ACCELERATOR_NAMESPACE::HcalDigisSoAProducer::produce(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlpakaESProducerC::produce(), ALPAKA_ACCELERATOR_NAMESPACE::SiPixelCablingSoAESProducer::produce(), and L2TauNNProducerAlpaka::selectGoodTracksAndVertices().
|
inline |
Definition at line 58 of file PortableHostCollection.h.
|
inline |
Definition at line 73 of file PortableHostCollection.h.
|
inline |
Definition at line 78 of file PortableHostCollection.h.
|
private |
Definition at line 95 of file PortableHostCollection.h.
Referenced by PortableHostCollection< TestSoA >::buffer(), PortableHostCollection< TestSoA >::const_buffer(), and PortableHostCollection< TestSoA >::zeroInitialise().
|
private |
Definition at line 96 of file PortableHostCollection.h.
Referenced by PortableHostCollection< TestSoA >::ROOTReadStreamer().
|
private |
Definition at line 97 of file PortableHostCollection.h.
Referenced by PortableHostCollection< TestSoA >::const_view(), PortableHostCollection< TestSoA >::operator*(), PortableHostCollection< TestSoA >::operator->(), and PortableHostCollection< TestSoA >::view().