#include <PortableDeviceCollection.h>
Public Types | |
using | Buffer = cms::alpakatools::device_buffer< TDev, std::byte[]> |
using | ConstBuffer = cms::alpakatools::const_device_buffer< TDev, 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 |
PortableDeviceCollection & | operator= (PortableDeviceCollection const &)=delete |
PortableDeviceCollection & | operator= (PortableDeviceCollection &&)=default |
PortableDeviceCollection ()=default | |
PortableDeviceCollection (int32_t elements, TDev const &device) | |
template<typename TQueue , typename = std::enable_if_t<alpaka::isQueue<TQueue>>> | |
PortableDeviceCollection (int32_t elements, TQueue const &queue) | |
PortableDeviceCollection (PortableDeviceCollection const &)=delete | |
PortableDeviceCollection (PortableDeviceCollection &&)=default | |
View & | view () |
ConstView const & | view () const |
template<typename TQueue , typename = std::enable_if_t<alpaka::isQueue<TQueue>>> | |
void | zeroInitialise (TQueue &&queue) |
~PortableDeviceCollection ()=default | |
Private Attributes | |
std::optional< Buffer > | buffer_ |
Layout | layout_ |
View | view_ |
Definition at line 16 of file PortableDeviceCollection.h.
using PortableDeviceCollection< T, TDev, typename >::Buffer = cms::alpakatools::device_buffer<TDev, std::byte[]> |
Definition at line 24 of file PortableDeviceCollection.h.
using PortableDeviceCollection< T, TDev, typename >::ConstBuffer = cms::alpakatools::const_device_buffer<TDev, std::byte[]> |
Definition at line 25 of file PortableDeviceCollection.h.
using PortableDeviceCollection< T, TDev, typename >::ConstView = typename Layout::ConstView |
Definition at line 23 of file PortableDeviceCollection.h.
using PortableDeviceCollection< T, TDev, typename >::Layout = T |
Definition at line 21 of file PortableDeviceCollection.h.
using PortableDeviceCollection< T, TDev, typename >::View = typename Layout::View |
Definition at line 22 of file PortableDeviceCollection.h.
|
default |
|
inline |
Definition at line 29 of file PortableDeviceCollection.h.
|
inline |
Definition at line 38 of file PortableDeviceCollection.h.
|
delete |
|
default |
|
default |
|
inline |
Definition at line 69 of file PortableDeviceCollection.h.
Referenced by cms::alpakatools::CopyToHost< PortableDeviceCollection< TLayout, TDevice > >::copyAsync().
|
inline |
Definition at line 70 of file PortableDeviceCollection.h.
|
inline |
Definition at line 71 of file PortableDeviceCollection.h.
|
inline |
Definition at line 60 of file PortableDeviceCollection.h.
|
inline |
Definition at line 62 of file PortableDeviceCollection.h.
|
inline |
Definition at line 63 of file PortableDeviceCollection.h.
|
inline |
Definition at line 65 of file PortableDeviceCollection.h.
|
inline |
Definition at line 66 of file PortableDeviceCollection.h.
|
delete |
|
default |
|
inline |
Definition at line 58 of file PortableDeviceCollection.h.
|
inline |
Definition at line 59 of file PortableDeviceCollection.h.
|
inline |
Definition at line 75 of file PortableDeviceCollection.h.
|
private |
Definition at line 80 of file PortableDeviceCollection.h.
Referenced by PortableDeviceCollection< TrackingRecHitLayout< TrackerTraits >, TDev >::buffer(), PortableDeviceCollection< TrackingRecHitLayout< TrackerTraits >, TDev >::const_buffer(), and PortableDeviceCollection< TrackingRecHitLayout< TrackerTraits >, TDev >::zeroInitialise().
|
private |
Definition at line 81 of file PortableDeviceCollection.h.
|
private |
Definition at line 82 of file PortableDeviceCollection.h.
Referenced by PortableDeviceCollection< TrackingRecHitLayout< TrackerTraits >, TDev >::const_view(), PortableDeviceCollection< TrackingRecHitLayout< TrackerTraits >, TDev >::operator*(), PortableDeviceCollection< TrackingRecHitLayout< TrackerTraits >, TDev >::operator->(), and PortableDeviceCollection< TrackingRecHitLayout< TrackerTraits >, TDev >::view().