CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
SiPixelDigisCUDA Class Reference

#include <SiPixelDigisCUDA.h>

Inheritance diagram for SiPixelDigisCUDA:
cms::cuda::PortableDeviceCollection< SiPixelDigisSoALayout<> >

Public Member Functions

uint32_t nDigis () const
 
uint32_t nModules () const
 
SiPixelDigisCUDAoperator= (SiPixelDigisCUDA &&)=default
 
void setNModulesDigis (uint32_t nModules, uint32_t nDigis)
 
 SiPixelDigisCUDA ()=default
 
 SiPixelDigisCUDA (size_t maxFedWords, cudaStream_t stream)
 
 SiPixelDigisCUDA (SiPixelDigisCUDA &&)=default
 
 ~SiPixelDigisCUDA ()=default
 
- Public Member Functions inherited from cms::cuda::PortableDeviceCollection< SiPixelDigisSoALayout<> >
Bufferbuffer ()
 
Buffer const & buffer () const
 
size_t bufferSize () const
 
Buffer const & const_buffer () const
 
ConstView const & const_view () const
 
Viewoperator* ()
 
ConstView const & operator* () const
 
Viewoperator-> ()
 
ConstView const * operator-> () const
 
PortableDeviceCollectionoperator= (PortableDeviceCollection const &)=delete
 
PortableDeviceCollectionoperator= (PortableDeviceCollection &&)=default
 
 PortableDeviceCollection ()=default
 
 PortableDeviceCollection (int32_t elements, cudaStream_t stream)
 
 PortableDeviceCollection (PortableDeviceCollection const &)=delete
 
 PortableDeviceCollection (PortableDeviceCollection &&)=default
 
Viewview ()
 
ConstView const & view () const
 
 ~PortableDeviceCollection ()=default
 

Private Attributes

uint32_t nDigis_h = 0
 
uint32_t nModules_h = 0
 

Additional Inherited Members

- Public Types inherited from cms::cuda::PortableDeviceCollection< SiPixelDigisSoALayout<> >
using Buffer = cms::cuda::device::unique_ptr< std::byte[]>
 
using ConstView = typename Layout::ConstView
 
using Layout = SiPixelDigisSoALayout<>
 
using View = typename Layout::View
 

Detailed Description

Definition at line 26 of file SiPixelDigisCUDA.h.

Constructor & Destructor Documentation

◆ SiPixelDigisCUDA() [1/3]

SiPixelDigisCUDA::SiPixelDigisCUDA ( )
default

◆ SiPixelDigisCUDA() [2/3]

SiPixelDigisCUDA::SiPixelDigisCUDA ( size_t  maxFedWords,
cudaStream_t  stream 
)
inlineexplicit

Definition at line 29 of file SiPixelDigisCUDA.h.

29  :
30  SiPixelDigisCUDA() = default;
SiPixelDigisCUDA()=default

◆ ~SiPixelDigisCUDA()

SiPixelDigisCUDA::~SiPixelDigisCUDA ( )
default

◆ SiPixelDigisCUDA() [3/3]

SiPixelDigisCUDA::SiPixelDigisCUDA ( SiPixelDigisCUDA &&  )
default

Member Function Documentation

◆ nDigis()

uint32_t SiPixelDigisCUDA::nDigis ( ) const
inline

Definition at line 42 of file SiPixelDigisCUDA.h.

43 { return nModules_h; }

◆ nModules()

uint32_t SiPixelDigisCUDA::nModules ( ) const
inline

Definition at line 41 of file SiPixelDigisCUDA.h.

43 { return nModules_h; }

◆ operator=()

SiPixelDigisCUDA& SiPixelDigisCUDA::operator= ( SiPixelDigisCUDA &&  )
default

◆ setNModulesDigis()

void SiPixelDigisCUDA::setNModulesDigis ( uint32_t  nModules,
uint32_t  nDigis 
)
inline

Member Data Documentation

◆ nDigis_h

uint32_t SiPixelDigisCUDA::nDigis_h = 0
private

Definition at line 46 of file SiPixelDigisCUDA.h.

◆ nModules_h

uint32_t SiPixelDigisCUDA::nModules_h = 0
private

Definition at line 45 of file SiPixelDigisCUDA.h.