CMS 3D CMS Logo

Classes | Functions | Variables
CandsGPU Namespace Reference

Classes

struct  BestCands
 

Functions

template<typename T >
__device__ void swap_values (T &a, T &b)
 

Variables

constexpr float chi2_sentinel = std::numeric_limits<float>::max()
 
constexpr int hitIdx_sentinel = -1
 
constexpr int nhits_sentinel = -1
 
constexpr int trkIdx_sentinel = -1
 

Function Documentation

◆ swap_values()

template<typename T >
__device__ void CandsGPU::swap_values ( T a,
T b 
)

Definition at line 17 of file BestCands.h.

References a, b, and DummyCfis::c.

Referenced by CandsGPU::BestCands< MaxCandsPerSeed, BlockSize >::swap_nodes().

17  {
18  T c(a);
19  a = b;
20  b = c;
21  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
long double T

Variable Documentation

◆ chi2_sentinel

constexpr float CandsGPU::chi2_sentinel = std::numeric_limits<float>::max()

◆ hitIdx_sentinel

constexpr int CandsGPU::hitIdx_sentinel = -1

◆ nhits_sentinel

constexpr int CandsGPU::nhits_sentinel = -1

◆ trkIdx_sentinel

constexpr int CandsGPU::trkIdx_sentinel = -1