#include <PortableDeviceObject.h>
Public Types | |
using | Buffer = cms::alpakatools::device_buffer< TDev, Product > |
using | ConstBuffer = cms::alpakatools::const_device_buffer< TDev, Product > |
using | Product = T |
Public Member Functions | |
Buffer | buffer () |
ConstBuffer | buffer () const |
ConstBuffer | const_buffer () const |
Product const * | const_data () const |
Product const & | const_value () const |
Product * | data () |
Product const * | data () const |
Product & | operator* () |
Product const & | operator* () const |
Product * | operator-> () |
Product const * | operator-> () const |
PortableDeviceObject & | operator= (PortableDeviceObject const &)=delete |
PortableDeviceObject & | operator= (PortableDeviceObject &&)=default |
PortableDeviceObject ()=default | |
PortableDeviceObject (TDev const &device) | |
template<typename TQueue , typename = std::enable_if_t<alpaka::isQueue<TQueue>>> | |
PortableDeviceObject (TQueue const &queue) | |
PortableDeviceObject (PortableDeviceObject const &)=delete | |
PortableDeviceObject (PortableDeviceObject &&)=default | |
Product & | value () |
Product const & | value () const |
template<typename TQueue , typename = std::enable_if_t<alpaka::isQueue<TQueue>>> | |
void | zeroInitialise (TQueue &&queue) |
~PortableDeviceObject ()=default | |
Private Attributes | |
std::optional< Buffer > | buffer_ |
Definition at line 15 of file PortableDeviceObject.h.
using PortableDeviceObject< T, TDev, typename >::Buffer = cms::alpakatools::device_buffer<TDev, Product> |
Definition at line 21 of file PortableDeviceObject.h.
using PortableDeviceObject< T, TDev, typename >::ConstBuffer = cms::alpakatools::const_device_buffer<TDev, Product> |
Definition at line 22 of file PortableDeviceObject.h.
using PortableDeviceObject< T, TDev, typename >::Product = T |
Definition at line 20 of file PortableDeviceObject.h.
|
default |
|
inline |
Definition at line 26 of file PortableDeviceObject.h.
|
inline |
Definition at line 33 of file PortableDeviceObject.h.
References createBeamHaloJobs::queue.
|
delete |
|
default |
|
default |
|
inline |
Definition at line 66 of file PortableDeviceObject.h.
References PortableDeviceObject< T, TDev, typename >::buffer_.
Referenced by cms::alpakatools::CopyToHost< PortableDeviceObject< TProduct, TDevice > >::copyAsync(), and cms::alpakatools::CopyToDevice< PortableHostObject< TProduct > >::copyAsync().
|
inline |
Definition at line 67 of file PortableDeviceObject.h.
References PortableDeviceObject< T, TDev, typename >::buffer_.
|
inline |
Definition at line 68 of file PortableDeviceObject.h.
References PortableDeviceObject< T, TDev, typename >::buffer_.
|
inline |
Definition at line 57 of file PortableDeviceObject.h.
References PortableDeviceObject< T, TDev, typename >::buffer_.
|
inline |
Definition at line 53 of file PortableDeviceObject.h.
References PortableDeviceObject< T, TDev, typename >::buffer_.
|
inline |
Definition at line 55 of file PortableDeviceObject.h.
References PortableDeviceObject< T, TDev, typename >::buffer_.
|
inline |
Definition at line 56 of file PortableDeviceObject.h.
References PortableDeviceObject< T, TDev, typename >::buffer_.
|
inline |
Definition at line 59 of file PortableDeviceObject.h.
References PortableDeviceObject< T, TDev, typename >::buffer_.
|
inline |
Definition at line 60 of file PortableDeviceObject.h.
References PortableDeviceObject< T, TDev, typename >::buffer_.
|
inline |
Definition at line 62 of file PortableDeviceObject.h.
References PortableDeviceObject< T, TDev, typename >::buffer_.
|
inline |
Definition at line 63 of file PortableDeviceObject.h.
References PortableDeviceObject< T, TDev, typename >::buffer_.
|
delete |
|
default |
|
inline |
Definition at line 51 of file PortableDeviceObject.h.
References PortableDeviceObject< T, TDev, typename >::buffer_.
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().
|
inline |
Definition at line 52 of file PortableDeviceObject.h.
References PortableDeviceObject< T, TDev, typename >::buffer_.
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().
|
inline |
Definition at line 72 of file PortableDeviceObject.h.
References PortableDeviceObject< T, TDev, typename >::buffer_, and createBeamHaloJobs::queue.
|
private |
Definition at line 77 of file PortableDeviceObject.h.
Referenced by PortableDeviceObject< T, TDev, typename >::buffer(), PortableDeviceObject< T, TDev, typename >::const_buffer(), PortableDeviceObject< T, TDev, typename >::const_data(), PortableDeviceObject< T, TDev, typename >::const_value(), PortableDeviceObject< T, TDev, typename >::data(), PortableDeviceObject< T, TDev, typename >::operator*(), PortableDeviceObject< T, TDev, typename >::operator->(), PortableDeviceObject< T, TDev, typename >::value(), and PortableDeviceObject< T, TDev, typename >::zeroInitialise().