Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooBatchCompute::RF_ARCH Namespace Reference

Classes

class  Batch
 
class  Batches
 
class  RooBatchComputeClass
 This class overrides some RooBatchComputeInterface functions, for the purpose of providing a cuda specific implementation of the library. More...
 

Typedefs

using BatchesHandle = Batches &
 

Functions

__rooglobal__ void computeAddPdf (BatchesHandle batches)
 
__rooglobal__ void computeArgusBG (BatchesHandle batches)
 
__rooglobal__ void computeBernstein (BatchesHandle batches)
 
__rooglobal__ void computeBifurGauss (BatchesHandle batches)
 
__rooglobal__ void computeBMixDecay (BatchesHandle batches)
 
__rooglobal__ void computeBreitWigner (BatchesHandle batches)
 
__rooglobal__ void computeBukin (BatchesHandle batches)
 
__rooglobal__ void computeCBShape (BatchesHandle batches)
 
__rooglobal__ void computeChebychev (BatchesHandle batches)
 
__rooglobal__ void computeChiSquare (BatchesHandle batches)
 
__rooglobal__ void computeDeltaFunction (BatchesHandle batches)
 
__rooglobal__ void computeDstD0BG (BatchesHandle batches)
 
__rooglobal__ void computeExponential (BatchesHandle batches)
 
__rooglobal__ void computeExponentialNeg (BatchesHandle batches)
 
__rooglobal__ void computeExpPoly (BatchesHandle batches)
 
__rooglobal__ void computeGamma (BatchesHandle batches)
 
__rooglobal__ void computeGaussian (BatchesHandle batches)
 
__rooglobal__ void computeGaussModelExpBasis (BatchesHandle batches)
 
__rooglobal__ void computeIdentity (BatchesHandle batches)
 
__rooglobal__ void computeJohnson (BatchesHandle batches)
 
__rooglobal__ void computeLandau (BatchesHandle batches)
 
__rooglobal__ void computeLognormal (BatchesHandle batches)
 
__rooglobal__ void computeLognormalStandard (BatchesHandle batches)
 
__rooglobal__ void computeNegativeLogarithms (BatchesHandle batches)
 
__rooglobal__ void computeNormalizedPdf (BatchesHandle batches)
 
__rooglobal__ void computeNovosibirsk (BatchesHandle batches)
 
__rooglobal__ void computePoisson (BatchesHandle batches)
 
__rooglobal__ void computePolynomial (BatchesHandle batches)
 
__rooglobal__ void computePower (BatchesHandle batches)
 
__rooglobal__ void computeProdPdf (BatchesHandle batches)
 
__rooglobal__ void computeRatio (BatchesHandle batches)
 
__rooglobal__ void computeTruthModelCosBasis (BatchesHandle batches)
 
__rooglobal__ void computeTruthModelCoshBasis (BatchesHandle batches)
 
__rooglobal__ void computeTruthModelExpBasis (BatchesHandle batches)
 
__rooglobal__ void computeTruthModelLinBasis (BatchesHandle batches)
 
__rooglobal__ void computeTruthModelQuadBasis (BatchesHandle batches)
 
__rooglobal__ void computeTruthModelSinBasis (BatchesHandle batches)
 
__rooglobal__ void computeTruthModelSinhBasis (BatchesHandle batches)
 
__rooglobal__ void computeVoigtian (BatchesHandle batches)
 
std::vector< void(*)(BatchesHandle)> getFunctions ()
 Returns a std::vector of pointers to the compute functions in this file.
 
__global__ void kahanSum (const double *__restrict__ input, const double *__restrict__ carries, size_t n, double *__restrict__ result, bool nll)
 
__device__ void kahanSumReduction (double *shared, size_t n, double *__restrict__ result, int carry_index)
 
__device__ void kahanSumUpdate (double &sum, double &carry, double a, double otherCarry)
 
__global__ void nllSumKernel (const double *__restrict__ probas, const double *__restrict__ weights, const double *__restrict__ offsetProbas, size_t n, double *__restrict__ result)
 

Variables

constexpr int blockSize = 512
 
static RooBatchComputeClass computeObj
 Static object to trigger the constructor which overwrites the dispatch pointer.
 
static RooBatchComputeClass computeObj
 Static object to trigger the constructor which overwrites the dispatch pointer.
 

Typedef Documentation

◆ BatchesHandle

Definition at line 84 of file Batches.h.

Function Documentation

◆ computeAddPdf()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeAddPdf ( BatchesHandle  batches)

Definition at line 46 of file ComputeFunctions.cxx.

◆ computeArgusBG()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeArgusBG ( BatchesHandle  batches)

Definition at line 57 of file ComputeFunctions.cxx.

◆ computeBernstein()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeBernstein ( BatchesHandle  batches)

Definition at line 92 of file ComputeFunctions.cxx.

◆ computeBifurGauss()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeBifurGauss ( BatchesHandle  batches)

Definition at line 168 of file ComputeFunctions.cxx.

◆ computeBMixDecay()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeBMixDecay ( BatchesHandle  batches)

Definition at line 77 of file ComputeFunctions.cxx.

◆ computeBreitWigner()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeBreitWigner ( BatchesHandle  batches)

Definition at line 185 of file ComputeFunctions.cxx.

◆ computeBukin()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeBukin ( BatchesHandle  batches)

Definition at line 196 of file ComputeFunctions.cxx.

◆ computeCBShape()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeCBShape ( BatchesHandle  batches)

Definition at line 245 of file ComputeFunctions.cxx.

◆ computeChebychev()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeChebychev ( BatchesHandle  batches)

Definition at line 267 of file ComputeFunctions.cxx.

◆ computeChiSquare()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeChiSquare ( BatchesHandle  batches)

Definition at line 312 of file ComputeFunctions.cxx.

◆ computeDeltaFunction()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeDeltaFunction ( BatchesHandle  batches)

Definition at line 327 of file ComputeFunctions.cxx.

◆ computeDstD0BG()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeDstD0BG ( BatchesHandle  batches)

Definition at line 334 of file ComputeFunctions.cxx.

◆ computeExponential()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeExponential ( BatchesHandle  batches)

Definition at line 371 of file ComputeFunctions.cxx.

◆ computeExponentialNeg()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeExponentialNeg ( BatchesHandle  batches)

Definition at line 380 of file ComputeFunctions.cxx.

◆ computeExpPoly()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeExpPoly ( BatchesHandle  batches)

Definition at line 354 of file ComputeFunctions.cxx.

◆ computeGamma()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeGamma ( BatchesHandle  batches)

Definition at line 389 of file ComputeFunctions.cxx.

◆ computeGaussian()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeGaussian ( BatchesHandle  batches)

Definition at line 457 of file ComputeFunctions.cxx.

◆ computeGaussModelExpBasis()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeGaussModelExpBasis ( BatchesHandle  batches)

Definition at line 419 of file ComputeFunctions.cxx.

◆ computeIdentity()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeIdentity ( BatchesHandle  batches)

Definition at line 469 of file ComputeFunctions.cxx.

◆ computeJohnson()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeJohnson ( BatchesHandle  batches)

Definition at line 487 of file ComputeFunctions.cxx.

◆ computeLandau()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeLandau ( BatchesHandle  batches)

Definition at line 517 of file ComputeFunctions.cxx.

◆ computeLognormal()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeLognormal ( BatchesHandle  batches)

Definition at line 600 of file ComputeFunctions.cxx.

◆ computeLognormalStandard()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeLognormalStandard ( BatchesHandle  batches)

Definition at line 617 of file ComputeFunctions.cxx.

◆ computeNegativeLogarithms()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeNegativeLogarithms ( BatchesHandle  batches)

Definition at line 476 of file ComputeFunctions.cxx.

◆ computeNormalizedPdf()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeNormalizedPdf ( BatchesHandle  batches)

Definition at line 634 of file ComputeFunctions.cxx.

◆ computeNovosibirsk()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeNovosibirsk ( BatchesHandle  batches)

Definition at line 680 of file ComputeFunctions.cxx.

◆ computePoisson()

__rooglobal__ void RooBatchCompute::RF_ARCH::computePoisson ( BatchesHandle  batches)

Definition at line 704 of file ComputeFunctions.cxx.

◆ computePolynomial()

__rooglobal__ void RooBatchCompute::RF_ARCH::computePolynomial ( BatchesHandle  batches)

Definition at line 733 of file ComputeFunctions.cxx.

◆ computePower()

__rooglobal__ void RooBatchCompute::RF_ARCH::computePower ( BatchesHandle  batches)

Definition at line 752 of file ComputeFunctions.cxx.

◆ computeProdPdf()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeProdPdf ( BatchesHandle  batches)

Definition at line 765 of file ComputeFunctions.cxx.

◆ computeRatio()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeRatio ( BatchesHandle  batches)

Definition at line 778 of file ComputeFunctions.cxx.

◆ computeTruthModelCosBasis()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeTruthModelCosBasis ( BatchesHandle  batches)

Definition at line 810 of file ComputeFunctions.cxx.

◆ computeTruthModelCoshBasis()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeTruthModelCoshBasis ( BatchesHandle  batches)

Definition at line 868 of file ComputeFunctions.cxx.

◆ computeTruthModelExpBasis()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeTruthModelExpBasis ( BatchesHandle  batches)

Definition at line 785 of file ComputeFunctions.cxx.

◆ computeTruthModelLinBasis()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeTruthModelLinBasis ( BatchesHandle  batches)

Definition at line 822 of file ComputeFunctions.cxx.

◆ computeTruthModelQuadBasis()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeTruthModelQuadBasis ( BatchesHandle  batches)

Definition at line 839 of file ComputeFunctions.cxx.

◆ computeTruthModelSinBasis()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeTruthModelSinBasis ( BatchesHandle  batches)

Definition at line 798 of file ComputeFunctions.cxx.

◆ computeTruthModelSinhBasis()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeTruthModelSinhBasis ( BatchesHandle  batches)

Definition at line 856 of file ComputeFunctions.cxx.

◆ computeVoigtian()

__rooglobal__ void RooBatchCompute::RF_ARCH::computeVoigtian ( BatchesHandle  batches)

Definition at line 880 of file ComputeFunctions.cxx.

◆ getFunctions()

std::vector< void(*)(BatchesHandle)> RooBatchCompute::RF_ARCH::getFunctions ( )

Returns a std::vector of pointers to the compute functions in this file.

Definition at line 913 of file ComputeFunctions.cxx.

◆ kahanSum()

__global__ void RooBatchCompute::RF_ARCH::kahanSum ( const double *__restrict__  input,
const double *__restrict__  carries,
size_t  n,
double *__restrict__  result,
bool  nll 
)

Definition at line 192 of file RooBatchCompute.cu.

◆ kahanSumReduction()

__device__ void RooBatchCompute::RF_ARCH::kahanSumReduction ( double shared,
size_t  n,
double *__restrict__  result,
int  carry_index 
)
inline

Definition at line 175 of file RooBatchCompute.cu.

◆ kahanSumUpdate()

__device__ void RooBatchCompute::RF_ARCH::kahanSumUpdate ( double sum,
double carry,
double  a,
double  otherCarry 
)
inline

Definition at line 161 of file RooBatchCompute.cu.

◆ nllSumKernel()

__global__ void RooBatchCompute::RF_ARCH::nllSumKernel ( const double *__restrict__  probas,
const double *__restrict__  weights,
const double *__restrict__  offsetProbas,
size_t  n,
double *__restrict__  result 
)

Definition at line 222 of file RooBatchCompute.cu.

Variable Documentation

◆ blockSize

constexpr int RooBatchCompute::RF_ARCH::blockSize = 512
constexpr

Definition at line 38 of file RooBatchCompute.cu.

◆ computeObj [1/2]

RooBatchComputeClass RooBatchCompute::RF_ARCH::computeObj
static

Static object to trigger the constructor which overwrites the dispatch pointer.

Definition at line 300 of file RooBatchCompute.cu.

◆ computeObj [2/2]

RooBatchComputeClass RooBatchCompute::RF_ARCH::computeObj
static

Static object to trigger the constructor which overwrites the dispatch pointer.

Definition at line 256 of file RooBatchCompute.cxx.