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

Classes

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

Functions

__rooglobal__ void computeAddPdf (Batches &batches)
 
__rooglobal__ void computeArgusBG (Batches &batches)
 
__rooglobal__ void computeBernstein (Batches &batches)
 
__rooglobal__ void computeBifurGauss (Batches &batches)
 
__rooglobal__ void computeBMixDecay (Batches &batches)
 
__rooglobal__ void computeBreitWigner (Batches &batches)
 
__rooglobal__ void computeBukin (Batches &batches)
 
__rooglobal__ void computeCBShape (Batches &batches)
 
__rooglobal__ void computeChebychev (Batches &batches)
 
__rooglobal__ void computeChiSquare (Batches &batches)
 
__rooglobal__ void computeDeltaFunction (Batches &batches)
 
__rooglobal__ void computeDstD0BG (Batches &batches)
 
__rooglobal__ void computeExponential (Batches &batches)
 
__rooglobal__ void computeExponentialNeg (Batches &batches)
 
__rooglobal__ void computeExpPoly (Batches &batches)
 
__rooglobal__ void computeGamma (Batches &batches)
 
__rooglobal__ void computeGaussian (Batches &batches)
 
__rooglobal__ void computeGaussModelExpBasis (Batches &batches)
 
__rooglobal__ void computeIdentity (Batches &batches)
 
__rooglobal__ void computeJohnson (Batches &batches)
 
__rooglobal__ void computeLandau (Batches &batches)
 
__rooglobal__ void computeLognormal (Batches &batches)
 
__rooglobal__ void computeLognormalStandard (Batches &batches)
 
__rooglobal__ void computeNegativeLogarithms (Batches &batches)
 
__rooglobal__ void computeNormalizedPdf (Batches &batches)
 
__rooglobal__ void computeNovosibirsk (Batches &batches)
 
__rooglobal__ void computePoisson (Batches &batches)
 
__rooglobal__ void computePolynomial (Batches &batches)
 
__rooglobal__ void computePower (Batches &batches)
 
__rooglobal__ void computeProdPdf (Batches &batches)
 
__rooglobal__ void computeRatio (Batches &batches)
 
__rooglobal__ void computeTruthModelCosBasis (Batches &batches)
 
__rooglobal__ void computeTruthModelCoshBasis (Batches &batches)
 
__rooglobal__ void computeTruthModelExpBasis (Batches &batches)
 
__rooglobal__ void computeTruthModelLinBasis (Batches &batches)
 
__rooglobal__ void computeTruthModelQuadBasis (Batches &batches)
 
__rooglobal__ void computeTruthModelSinBasis (Batches &batches)
 
__rooglobal__ void computeTruthModelSinhBasis (Batches &batches)
 
__rooglobal__ void computeVoigtian (Batches &batches)
 
std::vector< void(*)(Batches &)> 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.
 

Function Documentation

◆ computeAddPdf()

__rooglobal__ void RooBatchCompute::CUDA::computeAddPdf ( Batches batches)

Definition at line 48 of file ComputeFunctions.cxx.

◆ computeArgusBG()

__rooglobal__ void RooBatchCompute::CUDA::computeArgusBG ( Batches batches)

Definition at line 61 of file ComputeFunctions.cxx.

◆ computeBernstein()

__rooglobal__ void RooBatchCompute::CUDA::computeBernstein ( Batches batches)

Definition at line 96 of file ComputeFunctions.cxx.

◆ computeBifurGauss()

__rooglobal__ void RooBatchCompute::CUDA::computeBifurGauss ( Batches batches)

Definition at line 172 of file ComputeFunctions.cxx.

◆ computeBMixDecay()

__rooglobal__ void RooBatchCompute::CUDA::computeBMixDecay ( Batches batches)

Definition at line 81 of file ComputeFunctions.cxx.

◆ computeBreitWigner()

__rooglobal__ void RooBatchCompute::CUDA::computeBreitWigner ( Batches batches)

Definition at line 189 of file ComputeFunctions.cxx.

◆ computeBukin()

__rooglobal__ void RooBatchCompute::CUDA::computeBukin ( Batches batches)

Definition at line 200 of file ComputeFunctions.cxx.

◆ computeCBShape()

__rooglobal__ void RooBatchCompute::CUDA::computeCBShape ( Batches batches)

Definition at line 249 of file ComputeFunctions.cxx.

◆ computeChebychev()

__rooglobal__ void RooBatchCompute::CUDA::computeChebychev ( Batches batches)

Definition at line 271 of file ComputeFunctions.cxx.

◆ computeChiSquare()

__rooglobal__ void RooBatchCompute::CUDA::computeChiSquare ( Batches batches)

Definition at line 316 of file ComputeFunctions.cxx.

◆ computeDeltaFunction()

__rooglobal__ void RooBatchCompute::CUDA::computeDeltaFunction ( Batches batches)

Definition at line 331 of file ComputeFunctions.cxx.

◆ computeDstD0BG()

__rooglobal__ void RooBatchCompute::CUDA::computeDstD0BG ( Batches batches)

Definition at line 338 of file ComputeFunctions.cxx.

◆ computeExponential()

__rooglobal__ void RooBatchCompute::CUDA::computeExponential ( Batches batches)

Definition at line 375 of file ComputeFunctions.cxx.

◆ computeExponentialNeg()

__rooglobal__ void RooBatchCompute::CUDA::computeExponentialNeg ( Batches batches)

Definition at line 384 of file ComputeFunctions.cxx.

◆ computeExpPoly()

__rooglobal__ void RooBatchCompute::CUDA::computeExpPoly ( Batches batches)

Definition at line 358 of file ComputeFunctions.cxx.

◆ computeGamma()

__rooglobal__ void RooBatchCompute::CUDA::computeGamma ( Batches batches)

Definition at line 393 of file ComputeFunctions.cxx.

◆ computeGaussian()

__rooglobal__ void RooBatchCompute::CUDA::computeGaussian ( Batches batches)

Definition at line 461 of file ComputeFunctions.cxx.

◆ computeGaussModelExpBasis()

__rooglobal__ void RooBatchCompute::CUDA::computeGaussModelExpBasis ( Batches batches)

Definition at line 423 of file ComputeFunctions.cxx.

◆ computeIdentity()

__rooglobal__ void RooBatchCompute::CUDA::computeIdentity ( Batches batches)

Definition at line 473 of file ComputeFunctions.cxx.

◆ computeJohnson()

__rooglobal__ void RooBatchCompute::CUDA::computeJohnson ( Batches batches)

Definition at line 491 of file ComputeFunctions.cxx.

◆ computeLandau()

__rooglobal__ void RooBatchCompute::CUDA::computeLandau ( Batches batches)

Definition at line 521 of file ComputeFunctions.cxx.

◆ computeLognormal()

__rooglobal__ void RooBatchCompute::CUDA::computeLognormal ( Batches batches)

Definition at line 604 of file ComputeFunctions.cxx.

◆ computeLognormalStandard()

__rooglobal__ void RooBatchCompute::CUDA::computeLognormalStandard ( Batches batches)

Definition at line 621 of file ComputeFunctions.cxx.

◆ computeNegativeLogarithms()

__rooglobal__ void RooBatchCompute::CUDA::computeNegativeLogarithms ( Batches batches)

Definition at line 480 of file ComputeFunctions.cxx.

◆ computeNormalizedPdf()

__rooglobal__ void RooBatchCompute::CUDA::computeNormalizedPdf ( Batches batches)

Definition at line 638 of file ComputeFunctions.cxx.

◆ computeNovosibirsk()

__rooglobal__ void RooBatchCompute::CUDA::computeNovosibirsk ( Batches batches)

Definition at line 684 of file ComputeFunctions.cxx.

◆ computePoisson()

__rooglobal__ void RooBatchCompute::CUDA::computePoisson ( Batches batches)

Definition at line 708 of file ComputeFunctions.cxx.

◆ computePolynomial()

__rooglobal__ void RooBatchCompute::CUDA::computePolynomial ( Batches batches)

Definition at line 737 of file ComputeFunctions.cxx.

◆ computePower()

__rooglobal__ void RooBatchCompute::CUDA::computePower ( Batches batches)

Definition at line 756 of file ComputeFunctions.cxx.

◆ computeProdPdf()

__rooglobal__ void RooBatchCompute::CUDA::computeProdPdf ( Batches batches)

Definition at line 769 of file ComputeFunctions.cxx.

◆ computeRatio()

__rooglobal__ void RooBatchCompute::CUDA::computeRatio ( Batches batches)

Definition at line 782 of file ComputeFunctions.cxx.

◆ computeTruthModelCosBasis()

__rooglobal__ void RooBatchCompute::CUDA::computeTruthModelCosBasis ( Batches batches)

Definition at line 815 of file ComputeFunctions.cxx.

◆ computeTruthModelCoshBasis()

__rooglobal__ void RooBatchCompute::CUDA::computeTruthModelCoshBasis ( Batches batches)

Definition at line 875 of file ComputeFunctions.cxx.

◆ computeTruthModelExpBasis()

__rooglobal__ void RooBatchCompute::CUDA::computeTruthModelExpBasis ( Batches batches)

Definition at line 789 of file ComputeFunctions.cxx.

◆ computeTruthModelLinBasis()

__rooglobal__ void RooBatchCompute::CUDA::computeTruthModelLinBasis ( Batches batches)

Definition at line 828 of file ComputeFunctions.cxx.

◆ computeTruthModelQuadBasis()

__rooglobal__ void RooBatchCompute::CUDA::computeTruthModelQuadBasis ( Batches batches)

Definition at line 845 of file ComputeFunctions.cxx.

◆ computeTruthModelSinBasis()

__rooglobal__ void RooBatchCompute::CUDA::computeTruthModelSinBasis ( Batches batches)

Definition at line 802 of file ComputeFunctions.cxx.

◆ computeTruthModelSinhBasis()

__rooglobal__ void RooBatchCompute::CUDA::computeTruthModelSinhBasis ( Batches batches)

Definition at line 862 of file ComputeFunctions.cxx.

◆ computeVoigtian()

__rooglobal__ void RooBatchCompute::CUDA::computeVoigtian ( Batches batches)

Definition at line 888 of file ComputeFunctions.cxx.

◆ getFunctions()

std::vector< void(*)(Batches &)> RooBatchCompute::CUDA::getFunctions ( )

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

Definition at line 921 of file ComputeFunctions.cxx.

◆ kahanSum()

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

Definition at line 212 of file RooBatchCompute.cu.

◆ kahanSumReduction()

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

Definition at line 195 of file RooBatchCompute.cu.

◆ kahanSumUpdate()

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

Definition at line 181 of file RooBatchCompute.cu.

◆ nllSumKernel()

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

Definition at line 242 of file RooBatchCompute.cu.

Variable Documentation

◆ blockSize

constexpr int RooBatchCompute::CUDA::blockSize = 512
constexpr

Definition at line 35 of file RooBatchCompute.cu.

◆ computeObj [1/2]

RooBatchComputeClass RooBatchCompute::CUDA::computeObj
static

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

Definition at line 554 of file RooBatchCompute.cu.

◆ computeObj [2/2]

RooBatchComputeClass RooBatchCompute::CUDA::computeObj
static

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

Definition at line 431 of file RooBatchCompute.cxx.