#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<cms::alpakatools::is_queue_v<TQueue>>> | |
PortableDeviceCollection (int32_t elements, TQueue const &queue) | |
PortableDeviceCollection (PortableDeviceCollection const &)=delete | |
PortableDeviceCollection (PortableDeviceCollection &&)=default | |
View & | view () |
ConstView const & | view () const |
~PortableDeviceCollection ()=default | |
Private Attributes | |
std::optional< Buffer > | buffer_ |
Layout | layout_ |
View | view_ |
Definition at line 14 of file PortableDeviceCollection.h.
using PortableDeviceCollection< T, TDev, typename >::Buffer = cms::alpakatools::device_buffer<TDev, std::byte[]> |
Definition at line 22 of file PortableDeviceCollection.h.
using PortableDeviceCollection< T, TDev, typename >::ConstBuffer = cms::alpakatools::const_device_buffer<TDev, std::byte[]> |
Definition at line 23 of file PortableDeviceCollection.h.
using PortableDeviceCollection< T, TDev, typename >::ConstView = typename Layout::ConstView |
Definition at line 21 of file PortableDeviceCollection.h.
using PortableDeviceCollection< T, TDev, typename >::Layout = T |
Definition at line 19 of file PortableDeviceCollection.h.
using PortableDeviceCollection< T, TDev, typename >::View = typename Layout::View |
Definition at line 20 of file PortableDeviceCollection.h.
|
default |
|
inline |
Definition at line 27 of file PortableDeviceCollection.h.
References bookConverter::elements.
|
inline |
Definition at line 36 of file PortableDeviceCollection.h.
References bookConverter::elements, and createBeamHaloJobs::queue.
|
delete |
|
default |
|
default |
|
inline |
Definition at line 67 of file PortableDeviceCollection.h.
References PortableDeviceCollection< T, TDev, typename >::buffer_.
Referenced by cms::alpakatools::TransferToHost< ALPAKA_ACCELERATOR_NAMESPACE::PortableCollection< T > >::transferAsync().
|
inline |
Definition at line 68 of file PortableDeviceCollection.h.
References PortableDeviceCollection< T, TDev, typename >::buffer_.
|
inline |
Definition at line 69 of file PortableDeviceCollection.h.
References PortableDeviceCollection< T, TDev, typename >::buffer_.
Referenced by ALPAKA_ACCELERATOR_NAMESPACE::TestHelperClass::makeAsync().
|
inline |
Definition at line 58 of file PortableDeviceCollection.h.
References PortableDeviceCollection< T, TDev, typename >::view_.
|
inline |
Definition at line 60 of file PortableDeviceCollection.h.
References PortableDeviceCollection< T, TDev, typename >::view_.
|
inline |
Definition at line 61 of file PortableDeviceCollection.h.
References PortableDeviceCollection< T, TDev, typename >::view_.
|
inline |
Definition at line 63 of file PortableDeviceCollection.h.
References PortableDeviceCollection< T, TDev, typename >::view_.
|
inline |
Definition at line 64 of file PortableDeviceCollection.h.
References PortableDeviceCollection< T, TDev, typename >::view_.
|
delete |
|
default |
|
inline |
Definition at line 56 of file PortableDeviceCollection.h.
References PortableDeviceCollection< T, TDev, typename >::view_.
|
inline |
Definition at line 57 of file PortableDeviceCollection.h.
References PortableDeviceCollection< T, TDev, typename >::view_.
|
private |
Definition at line 72 of file PortableDeviceCollection.h.
Referenced by PortableDeviceCollection< T, TDev, typename >::buffer(), and PortableDeviceCollection< T, TDev, typename >::const_buffer().
|
private |
Definition at line 73 of file PortableDeviceCollection.h.
|
private |
Definition at line 74 of file PortableDeviceCollection.h.
Referenced by PortableDeviceCollection< T, TDev, typename >::const_view(), PortableDeviceCollection< T, TDev, typename >::operator*(), PortableDeviceCollection< T, TDev, typename >::operator->(), and PortableDeviceCollection< T, TDev, typename >::view().