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 nProbas, double scalarProba, size_t nWeights, double *__restrict__ result)
 

Variables

constexpr int blockSize = 512
 
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 47 of file ComputeFunctions.cxx.

◆ computeArgusBG()

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

Definition at line 60 of file ComputeFunctions.cxx.

◆ computeBernstein()

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

Definition at line 95 of file ComputeFunctions.cxx.

◆ computeBifurGauss()

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

Definition at line 171 of file ComputeFunctions.cxx.

◆ computeBMixDecay()

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

Definition at line 80 of file ComputeFunctions.cxx.

◆ computeBreitWigner()

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

Definition at line 188 of file ComputeFunctions.cxx.

◆ computeBukin()

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

Definition at line 199 of file ComputeFunctions.cxx.

◆ computeCBShape()

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

Definition at line 248 of file ComputeFunctions.cxx.

◆ computeChebychev()

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

Definition at line 270 of file ComputeFunctions.cxx.

◆ computeChiSquare()

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

Definition at line 315 of file ComputeFunctions.cxx.

◆ computeDeltaFunction()

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

Definition at line 330 of file ComputeFunctions.cxx.

◆ computeDstD0BG()

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

Definition at line 337 of file ComputeFunctions.cxx.

◆ computeExponential()

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

Definition at line 374 of file ComputeFunctions.cxx.

◆ computeExponentialNeg()

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

Definition at line 383 of file ComputeFunctions.cxx.

◆ computeExpPoly()

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

Definition at line 357 of file ComputeFunctions.cxx.

◆ computeGamma()

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

Definition at line 392 of file ComputeFunctions.cxx.

◆ computeGaussian()

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

Definition at line 460 of file ComputeFunctions.cxx.

◆ computeGaussModelExpBasis()

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

Definition at line 422 of file ComputeFunctions.cxx.

◆ computeIdentity()

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

Definition at line 472 of file ComputeFunctions.cxx.

◆ computeJohnson()

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

Definition at line 490 of file ComputeFunctions.cxx.

◆ computeLandau()

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

Definition at line 520 of file ComputeFunctions.cxx.

◆ computeLognormal()

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

Definition at line 603 of file ComputeFunctions.cxx.

◆ computeLognormalStandard()

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

Definition at line 620 of file ComputeFunctions.cxx.

◆ computeNegativeLogarithms()

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

Definition at line 479 of file ComputeFunctions.cxx.

◆ computeNormalizedPdf()

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

Definition at line 637 of file ComputeFunctions.cxx.

◆ computeNovosibirsk()

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

Definition at line 683 of file ComputeFunctions.cxx.

◆ computePoisson()

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

Definition at line 707 of file ComputeFunctions.cxx.

◆ computePolynomial()

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

Definition at line 736 of file ComputeFunctions.cxx.

◆ computePower()

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

Definition at line 755 of file ComputeFunctions.cxx.

◆ computeProdPdf()

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

Definition at line 768 of file ComputeFunctions.cxx.

◆ computeRatio()

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

Definition at line 781 of file ComputeFunctions.cxx.

◆ computeTruthModelCosBasis()

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

Definition at line 814 of file ComputeFunctions.cxx.

◆ computeTruthModelCoshBasis()

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

Definition at line 874 of file ComputeFunctions.cxx.

◆ computeTruthModelExpBasis()

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

Definition at line 788 of file ComputeFunctions.cxx.

◆ computeTruthModelLinBasis()

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

Definition at line 827 of file ComputeFunctions.cxx.

◆ computeTruthModelQuadBasis()

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

Definition at line 844 of file ComputeFunctions.cxx.

◆ computeTruthModelSinBasis()

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

Definition at line 801 of file ComputeFunctions.cxx.

◆ computeTruthModelSinhBasis()

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

Definition at line 861 of file ComputeFunctions.cxx.

◆ computeVoigtian()

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

Definition at line 887 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 920 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 nProbas,
double scalarProba,
size_t nWeights,
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

RooBatchComputeClass RooBatchCompute::CUDA::computeObj
static

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

Definition at line 554 of file RooBatchCompute.cu.