CMS 3D CMS Logo

Namespaces | Enumerations | Functions | Variables
gpuClustering.h File Reference
#include <cstdint>
#include <cstdio>
#include "CUDADataFormats/SiPixelCluster/interface/gpuClusteringConstants.h"
#include "Geometry/CommonTopologies/interface/SimplePixelTopology.h"
#include "HeterogeneousCore/CUDAUtilities/interface/HistoContainer.h"
#include "HeterogeneousCore/CUDAUtilities/interface/cudaCompat.h"
#include "HeterogeneousCore/CUDAUtilities/interface/cuda_assert.h"

Go to the source code of this file.

Namespaces

 gpuClustering
 
 gpuClustering::pixelStatus
 

Enumerations

enum  gpuClustering::pixelStatus::Status : uint32_t { gpuClustering::pixelStatus::kEmpty = 0x00, gpuClustering::pixelStatus::kFound = 0x01, gpuClustering::pixelStatus::kDuplicate = 0x03 }
 

Functions

template<typename TrackerTraits >
 gpuClustering::__attribute__ ((always_inline)) void clusterChargeCut(SiPixelClusterThresholds clusterThresholds
 
 gpuClustering::assert (nMaxModules< maxNumModules)
 
 gpuClustering::for (auto module=firstModule;module< endModule;module+=gridDim.x)
 
static __device__ constexpr uint32_t gpuClustering::pixelStatus::getIndex (uint16_t x, uint16_t y)
 
__device__ constexpr uint32_t gpuClustering::pixelStatus::getShift (uint16_t x, uint16_t y)
 
__device__ constexpr Status gpuClustering::pixelStatus::getStatus (uint32_t const *__restrict__ status, uint16_t x, uint16_t y)
 
__device__ constexpr bool gpuClustering::pixelStatus::isDuplicate (uint32_t const *__restrict__ status, uint16_t x, uint16_t y)
 
__device__ constexpr void gpuClustering::pixelStatus::promote (uint32_t *__restrict__ status, const uint16_t x, const uint16_t y)
 

Variables

constexpr uint32_t gpuClustering::pixelStatus::bits = 2
 
constexpr uint32_t gpuClustering::pixelStatus::mask = (0x01 << bits) - 1
 
__shared__ int gpuClustering::msize
 
constexpr uint32_t gpuClustering::pixelSizeX = 160
 
constexpr uint32_t gpuClustering::pixelSizeY = 416
 
constexpr const uint32_t gpuClustering::pixelStatusSize = isPhase2 ? 1 : pixelStatus::size
 
constexpr uint32_t gpuClustering::pixelStatus::size = pixelSizeX * pixelSizeY / valuesPerWord
 
__shared__ uint32_t gpuClustering::status [pixelStatusSize]
 
constexpr uint32_t gpuClustering::pixelStatus::valuesPerWord = sizeof(uint32_t) * 8 / bits
 
uint16_t *__restrict__ uint16_t const *__restrict__ gpuClustering::x
 
uint16_t *__restrict__ uint16_t const *__restrict__ uint16_t const *__restrict__ gpuClustering::y