CMS 3D CMS Logo

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

#include <SiPixelDigisCUDA.h>

Public Member Functions

__device__ __attribute__ ((always_inline)) int32_t clus(int i) const
 
__device__ __attribute__ ((always_inline)) uint16_t adc(int i) const
 
__device__ __attribute__ ((always_inline)) uint16_t moduleInd(int i) const
 
__device__ __attribute__ ((always_inline)) uint16_t xx(int i) const
 
__device__ __attribute__ ((always_inline)) uint16_t yy(int i) const
 

Public Attributes

const uint16_t * adc_
 
const int32_t * clus_
 
const uint16_t * moduleInd_
 
const uint16_t * xx_
 
const uint16_t * yy_
 

Detailed Description

Definition at line 50 of file SiPixelDigisCUDA.h.

Member Function Documentation

◆ __attribute__() [1/5]

__device__ SiPixelDigisCUDA::DeviceConstView::__attribute__ ( (always_inline)  ) const
inline

Definition at line 56 of file SiPixelDigisCUDA.h.

56 { return __ldg(clus_ + i); }

References cms::cudacompat::__ldg(), clus_, and mps_fire::i.

◆ __attribute__() [2/5]

__device__ SiPixelDigisCUDA::DeviceConstView::__attribute__ ( (always_inline)  ) const
inline

Definition at line 54 of file SiPixelDigisCUDA.h.

54 { return __ldg(adc_ + i); }

References cms::cudacompat::__ldg(), adc_, and mps_fire::i.

◆ __attribute__() [3/5]

__device__ SiPixelDigisCUDA::DeviceConstView::__attribute__ ( (always_inline)  ) const
inline

Definition at line 55 of file SiPixelDigisCUDA.h.

55 { return __ldg(moduleInd_ + i); }

References cms::cudacompat::__ldg(), mps_fire::i, and moduleInd_.

◆ __attribute__() [4/5]

__device__ SiPixelDigisCUDA::DeviceConstView::__attribute__ ( (always_inline)  ) const
inline

Definition at line 52 of file SiPixelDigisCUDA.h.

52 { return __ldg(xx_ + i); }

References cms::cudacompat::__ldg(), mps_fire::i, and xx_.

◆ __attribute__() [5/5]

__device__ SiPixelDigisCUDA::DeviceConstView::__attribute__ ( (always_inline)  ) const
inline

Definition at line 53 of file SiPixelDigisCUDA.h.

53 { return __ldg(yy_ + i); }

References cms::cudacompat::__ldg(), mps_fire::i, and yy_.

Member Data Documentation

◆ adc_

const uint16_t* SiPixelDigisCUDA::DeviceConstView::adc_

Definition at line 60 of file SiPixelDigisCUDA.h.

Referenced by __attribute__(), and SiPixelDigisCUDA::SiPixelDigisCUDA().

◆ clus_

const int32_t* SiPixelDigisCUDA::DeviceConstView::clus_

Definition at line 62 of file SiPixelDigisCUDA.h.

Referenced by __attribute__(), and SiPixelDigisCUDA::SiPixelDigisCUDA().

◆ moduleInd_

const uint16_t* SiPixelDigisCUDA::DeviceConstView::moduleInd_

Definition at line 61 of file SiPixelDigisCUDA.h.

Referenced by __attribute__(), and SiPixelDigisCUDA::SiPixelDigisCUDA().

◆ xx_

const uint16_t* SiPixelDigisCUDA::DeviceConstView::xx_

Definition at line 58 of file SiPixelDigisCUDA.h.

Referenced by __attribute__(), and SiPixelDigisCUDA::SiPixelDigisCUDA().

◆ yy_

const uint16_t* SiPixelDigisCUDA::DeviceConstView::yy_

Definition at line 59 of file SiPixelDigisCUDA.h.

Referenced by __attribute__(), and SiPixelDigisCUDA::SiPixelDigisCUDA().

mps_fire.i
i
Definition: mps_fire.py:428
SiPixelDigisCUDA::DeviceConstView::xx_
const uint16_t * xx_
Definition: SiPixelDigisCUDA.h:58
SiPixelDigisCUDA::DeviceConstView::moduleInd_
const uint16_t * moduleInd_
Definition: SiPixelDigisCUDA.h:61
SiPixelDigisCUDA::DeviceConstView::yy_
const uint16_t * yy_
Definition: SiPixelDigisCUDA.h:59
SiPixelDigisCUDA::DeviceConstView::clus_
const int32_t * clus_
Definition: SiPixelDigisCUDA.h:62
cms::cudacompat::__ldg
T __ldg(T const *x)
Definition: cudaCompat.h:113
SiPixelDigisCUDA::DeviceConstView::adc_
const uint16_t * adc_
Definition: SiPixelDigisCUDA.h:60