#include <PortableHostObject.h>
Public Types | |
using | Buffer = cms::alpakatools::host_buffer< Product > |
using | ConstBuffer = cms::alpakatools::const_host_buffer< Product > |
using | Product = T |
Public Member Functions | |
Buffer | buffer () |
ConstBuffer | buffer () const |
ConstBuffer | const_buffer () const |
Product * | data () |
Product const * | data () const |
Product & | operator* () |
Product const & | operator* () const |
Product * | operator-> () |
Product const * | operator-> () const |
PortableHostObject & | operator= (PortableHostObject const &)=delete |
PortableHostObject & | operator= (PortableHostObject &&)=default |
PortableHostObject ()=default | |
PortableHostObject (alpaka_common::DevHost const &host) | |
template<typename TQueue , typename = std::enable_if_t<alpaka::isQueue<TQueue>>> | |
PortableHostObject (TQueue const &queue) | |
PortableHostObject (PortableHostObject const &)=delete | |
PortableHostObject (PortableHostObject &&)=default | |
Product & | value () |
Product const & | value () const |
~PortableHostObject ()=default | |
Static Public Member Functions | |
static void | ROOTReadStreamer (PortableHostObject *newObj, Product &product) |
Private Attributes | |
std::optional< Buffer > | buffer_ |
Product * | product_ |
Definition at line 16 of file PortableHostObject.h.
using PortableHostObject< T >::Buffer = cms::alpakatools::host_buffer<Product> |
Definition at line 19 of file PortableHostObject.h.
using PortableHostObject< T >::ConstBuffer = cms::alpakatools::const_host_buffer<Product> |
Definition at line 20 of file PortableHostObject.h.
using PortableHostObject< T >::Product = T |
Definition at line 18 of file PortableHostObject.h.
|
default |
Referenced by PortableHostObject< T >::ROOTReadStreamer().
|
inline |
Definition at line 24 of file PortableHostObject.h.
|
inline |
Definition at line 31 of file PortableHostObject.h.
References createBeamHaloJobs::queue.
|
delete |
|
default |
|
default |
Referenced by PortableHostObject< T >::ROOTReadStreamer().
|
inline |
Definition at line 62 of file PortableHostObject.h.
References PortableHostObject< T >::buffer_.
Referenced by TestAlpakaObjectAnalyzer::analyze(), cms::alpakatools::CopyToHost< PortableDeviceObject< TProduct, TDevice > >::copyAsync(), and cms::alpakatools::CopyToDevice< PortableHostObject< TProduct > >::copyAsync().
|
inline |
|
inline |
|
inline |
Definition at line 52 of file PortableHostObject.h.
References PortableHostObject< T >::product_.
Referenced by TestAlpakaObjectAnalyzer::analyze().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
delete |
|
default |
|
inlinestatic |
Definition at line 67 of file PortableHostObject.h.
References cms::alpakatools::host(), PortableHostObject< T >::PortableHostObject(), PortableHostObject< T >::product_, and PortableHostObject< T >::~PortableHostObject().
|
inline |
Definition at line 49 of file PortableHostObject.h.
References PortableHostObject< T >::product_.
Referenced by Types.int32::__nonzero__(), Types.uint32::__nonzero__(), Types.int64::__nonzero__(), Types.uint64::__nonzero__(), Types.double::__nonzero__(), Types.bool::__nonzero__(), Types.string::__nonzero__(), TestAlpakaObjectAnalyzer::analyze(), average.Average::average(), Types.string::configValue(), Types.FileInPath::configValue(), Mixins.UsingBlock::dumpPython(), Mixins.UsingBlock::insertInto(), Types.int32::insertInto(), Types.uint32::insertInto(), Types.int64::insertInto(), Types.uint64::insertInto(), Types.double::insertInto(), Types.bool::insertInto(), Types.string::insertInto(), Types.FileInPath::insertInto(), Types.vint32::insertInto(), Types.vuint32::insertInto(), Types.vint64::insertInto(), Types.vuint64::insertInto(), Types.vdouble::insertInto(), Types.vbool::insertInto(), and Types.vstring::insertInto().
|
inline |
Definition at line 50 of file PortableHostObject.h.
References PortableHostObject< T >::product_.
Referenced by Types.int32::__nonzero__(), Types.uint32::__nonzero__(), Types.int64::__nonzero__(), Types.uint64::__nonzero__(), Types.double::__nonzero__(), Types.bool::__nonzero__(), Types.string::__nonzero__(), average.Average::average(), Types.string::configValue(), Types.FileInPath::configValue(), Mixins.UsingBlock::dumpPython(), Mixins.UsingBlock::insertInto(), Types.int32::insertInto(), Types.uint32::insertInto(), Types.int64::insertInto(), Types.uint64::insertInto(), Types.double::insertInto(), Types.bool::insertInto(), Types.string::insertInto(), Types.FileInPath::insertInto(), Types.vint32::insertInto(), Types.vuint32::insertInto(), Types.vint64::insertInto(), Types.vuint64::insertInto(), Types.vdouble::insertInto(), Types.vbool::insertInto(), and Types.vstring::insertInto().
|
private |
Definition at line 77 of file PortableHostObject.h.
Referenced by PortableHostObject< T >::buffer(), and PortableHostObject< T >::const_buffer().
|
private |
Definition at line 78 of file PortableHostObject.h.
Referenced by PortableHostObject< T >::data(), PortableHostObject< T >::operator*(), PortableHostObject< T >::operator->(), PortableHostObject< T >::ROOTReadStreamer(), and PortableHostObject< T >::value().