CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

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

Definition at line 17 of file BestCands.h.

References b, and c.

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

17  {
18  T c(a);
19  a = b;
20  b = c;
21  }
const edm::EventSetup & c
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
long double T

Variable Documentation

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