CMS 3D CMS Logo

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

#include <SiPixelClustersCUDA.h>

Public Member Functions

__device__ __attribute__ ((always_inline)) uint32_t clusInModule(int i) const
 
__device__ __attribute__ ((always_inline)) uint32_t clusModuleStart(int i) const
 
__device__ __attribute__ ((always_inline)) uint32_t moduleId(int i) const
 
__device__ __attribute__ ((always_inline)) uint32_t moduleStart(int i) const
 

Public Attributes

const uint32_t * clusInModule_
 
const uint32_t * clusModuleStart_
 
const uint32_t * moduleId_
 
const uint32_t * moduleStart_
 

Detailed Description

Definition at line 35 of file SiPixelClustersCUDA.h.

Member Function Documentation

◆ __attribute__() [1/4]

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

Definition at line 38 of file SiPixelClustersCUDA.h.

38 { return __ldg(clusInModule_ + i); }

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

◆ __attribute__() [2/4]

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

Definition at line 40 of file SiPixelClustersCUDA.h.

40 { return __ldg(clusModuleStart_ + i); }

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

◆ __attribute__() [3/4]

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

Definition at line 39 of file SiPixelClustersCUDA.h.

39 { return __ldg(moduleId_ + i); }

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

◆ __attribute__() [4/4]

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

Definition at line 37 of file SiPixelClustersCUDA.h.

37 { return __ldg(moduleStart_ + i); }

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

Member Data Documentation

◆ clusInModule_

const uint32_t* SiPixelClustersCUDA::DeviceConstView::clusInModule_

◆ clusModuleStart_

const uint32_t* SiPixelClustersCUDA::DeviceConstView::clusModuleStart_

◆ moduleId_

const uint32_t* SiPixelClustersCUDA::DeviceConstView::moduleId_

◆ moduleStart_

const uint32_t* SiPixelClustersCUDA::DeviceConstView::moduleStart_
mps_fire.i
i
Definition: mps_fire.py:428
SiPixelClustersCUDA::DeviceConstView::moduleId_
const uint32_t * moduleId_
Definition: SiPixelClustersCUDA.h:44
SiPixelClustersCUDA::DeviceConstView::clusModuleStart_
const uint32_t * clusModuleStart_
Definition: SiPixelClustersCUDA.h:45
SiPixelClustersCUDA::DeviceConstView::clusInModule_
const uint32_t * clusInModule_
Definition: SiPixelClustersCUDA.h:43
cms::cudacompat::__ldg
T __ldg(T const *x)
Definition: cudaCompat.h:113
SiPixelClustersCUDA::DeviceConstView::moduleStart_
const uint32_t * moduleStart_
Definition: SiPixelClustersCUDA.h:42