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< SiPixelDigisSoA >

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< SiPixelDigisSoA >
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< SiPixelDigisSoA >
using Buffer = cms::cuda::device::unique_ptr< std::byte[]>
 
using ConstView = typename Layout::ConstView
 
using Layout = SiPixelDigisSoA
 
using View = typename Layout::View
 

Detailed Description

Definition at line 16 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 19 of file SiPixelDigisCUDA.h.

uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream

◆ ~SiPixelDigisCUDA()

SiPixelDigisCUDA::~SiPixelDigisCUDA ( )
default

◆ SiPixelDigisCUDA() [3/3]

SiPixelDigisCUDA::SiPixelDigisCUDA ( SiPixelDigisCUDA &&  )
default

Member Function Documentation

◆ nDigis()

uint32_t SiPixelDigisCUDA::nDigis ( ) const
inline

Definition at line 33 of file SiPixelDigisCUDA.h.

References nDigis_h.

Referenced by setNModulesDigis().

33 { return nDigis_h; }

◆ nModules()

uint32_t SiPixelDigisCUDA::nModules ( ) const
inline

Definition at line 32 of file SiPixelDigisCUDA.h.

References nModules_h.

Referenced by setNModulesDigis().

32 { 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 37 of file SiPixelDigisCUDA.h.

Referenced by nDigis(), and setNModulesDigis().

◆ nModules_h

uint32_t SiPixelDigisCUDA::nModules_h = 0
private

Definition at line 36 of file SiPixelDigisCUDA.h.

Referenced by nModules(), and setNModulesDigis().