CMS 3D CMS Logo

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

#include <SiPixelClustersCUDA.h>

Inheritance diagram for SiPixelClustersCUDA:
cms::cuda::PortableDeviceCollection< SiPixelClustersCUDALayout<> >

Public Member Functions

uint32_t nClusters () const
 
int32_t offsetBPIX2 () const
 
SiPixelClustersCUDAoperator= (SiPixelClustersCUDA &&)=default
 
void setNClusters (uint32_t nClusters, int32_t offsetBPIX2)
 
 SiPixelClustersCUDA ()=default
 
 SiPixelClustersCUDA (size_t maxModules, cudaStream_t stream)
 
 SiPixelClustersCUDA (SiPixelClustersCUDA &&)=default
 
 ~SiPixelClustersCUDA ()=default
 
- Public Member Functions inherited from cms::cuda::PortableDeviceCollection< SiPixelClustersCUDALayout<> >
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 nClusters_h = 0
 
int32_t offsetBPIX2_h = 0
 

Additional Inherited Members

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

Detailed Description

Definition at line 26 of file SiPixelClustersCUDA.h.

Constructor & Destructor Documentation

◆ SiPixelClustersCUDA() [1/3]

SiPixelClustersCUDA::SiPixelClustersCUDA ( )
default

◆ ~SiPixelClustersCUDA()

SiPixelClustersCUDA::~SiPixelClustersCUDA ( )
default

◆ SiPixelClustersCUDA() [2/3]

SiPixelClustersCUDA::SiPixelClustersCUDA ( size_t  maxModules,
cudaStream_t  stream 
)
inlineexplicit

Definition at line 31 of file SiPixelClustersCUDA.h.

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

◆ SiPixelClustersCUDA() [3/3]

SiPixelClustersCUDA::SiPixelClustersCUDA ( SiPixelClustersCUDA &&  )
default

Member Function Documentation

◆ nClusters()

uint32_t SiPixelClustersCUDA::nClusters ( ) const
inline

Definition at line 42 of file SiPixelClustersCUDA.h.

44 { return nClusters_h; }

◆ offsetBPIX2()

int32_t SiPixelClustersCUDA::offsetBPIX2 ( ) const
inline

Definition at line 43 of file SiPixelClustersCUDA.h.

44 { return nClusters_h; }

◆ operator=()

SiPixelClustersCUDA& SiPixelClustersCUDA::operator= ( SiPixelClustersCUDA &&  )
default

◆ setNClusters()

void SiPixelClustersCUDA::setNClusters ( uint32_t  nClusters,
int32_t  offsetBPIX2 
)
inline

Member Data Documentation

◆ nClusters_h

uint32_t SiPixelClustersCUDA::nClusters_h = 0
private

Definition at line 46 of file SiPixelClustersCUDA.h.

◆ offsetBPIX2_h

int32_t SiPixelClustersCUDA::offsetBPIX2_h = 0
private

Definition at line 47 of file SiPixelClustersCUDA.h.