Classes | |
| class | RooBatchComputeClass |
| This class overrides some RooBatchComputeInterface functions, for the purpose of providing a cuda specific implementation of the library. More... | |
Variables | |
| constexpr int | blockSize = 512 |
| static RooBatchComputeClass | computeObj |
| Static object to trigger the constructor which overwrites the dispatch pointer. | |
| __rooglobal__ void RooBatchCompute::CUDA::computeAddPdf | ( | Batches & | batches | ) |
Definition at line 47 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computeArgusBG | ( | Batches & | batches | ) |
Definition at line 60 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computeBernstein | ( | Batches & | batches | ) |
Definition at line 95 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computeBifurGauss | ( | Batches & | batches | ) |
Definition at line 167 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computeBMixDecay | ( | Batches & | batches | ) |
Definition at line 80 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computeBreitWigner | ( | Batches & | batches | ) |
Definition at line 184 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computeBukin | ( | Batches & | batches | ) |
Definition at line 195 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computeCBShape | ( | Batches & | batches | ) |
Definition at line 244 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computeChebychev | ( | Batches & | batches | ) |
Definition at line 266 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computeChiSquare | ( | Batches & | batches | ) |
Definition at line 311 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computeDeltaFunction | ( | Batches & | batches | ) |
Definition at line 326 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computeDstD0BG | ( | Batches & | batches | ) |
Definition at line 333 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computeExponential | ( | Batches & | batches | ) |
Definition at line 370 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computeExponentialNeg | ( | Batches & | batches | ) |
Definition at line 379 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computeExpPoly | ( | Batches & | batches | ) |
Definition at line 353 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computeGamma | ( | Batches & | batches | ) |
Definition at line 388 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computeGaussian | ( | Batches & | batches | ) |
Definition at line 456 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computeGaussModelExpBasis | ( | Batches & | batches | ) |
Definition at line 418 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computeIdentity | ( | Batches & | batches | ) |
Definition at line 468 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computeJohnson | ( | Batches & | batches | ) |
Definition at line 486 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computeLandau | ( | Batches & | batches | ) |
Definition at line 516 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computeLognormal | ( | Batches & | batches | ) |
Definition at line 599 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computeLognormalStandard | ( | Batches & | batches | ) |
Definition at line 616 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computeNegativeLogarithms | ( | Batches & | batches | ) |
Definition at line 475 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computeNormalizedPdf | ( | Batches & | batches | ) |
Definition at line 633 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computeNovosibirsk | ( | Batches & | batches | ) |
Definition at line 690 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computePoisson | ( | Batches & | batches | ) |
Definition at line 714 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computePolynomial | ( | Batches & | batches | ) |
Definition at line 743 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computePower | ( | Batches & | batches | ) |
Definition at line 762 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computeProdPdf | ( | Batches & | batches | ) |
Definition at line 775 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computeRatio | ( | Batches & | batches | ) |
Definition at line 788 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computeTruthModelCosBasis | ( | Batches & | batches | ) |
Definition at line 821 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computeTruthModelCoshBasis | ( | Batches & | batches | ) |
Definition at line 881 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computeTruthModelExpBasis | ( | Batches & | batches | ) |
Definition at line 795 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computeTruthModelLinBasis | ( | Batches & | batches | ) |
Definition at line 834 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computeTruthModelQuadBasis | ( | Batches & | batches | ) |
Definition at line 851 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computeTruthModelSinBasis | ( | Batches & | batches | ) |
Definition at line 808 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computeTruthModelSinhBasis | ( | Batches & | batches | ) |
Definition at line 868 of file ComputeFunctions.cxx.
| __rooglobal__ void RooBatchCompute::CUDA::computeVoigtian | ( | Batches & | batches | ) |
Definition at line 894 of file ComputeFunctions.cxx.
| std::vector< void(*)(Batches &)> RooBatchCompute::CUDA::getFunctions | ( | ) |
Returns a std::vector of pointers to the compute functions in this file.
Definition at line 927 of file ComputeFunctions.cxx.
| __global__ void RooBatchCompute::CUDA::kahanSum | ( | const double *__restrict__ | input, |
| const double *__restrict__ | carries, | ||
| size_t | n, | ||
| double *__restrict__ | result, | ||
| bool | nll ) |
Definition at line 372 of file RooBatchCompute.cu.
|
inline |
Definition at line 355 of file RooBatchCompute.cu.
|
inline |
Definition at line 341 of file RooBatchCompute.cu.
| __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, | ||
| double *__restrict__ | stats ) |
Computes the negative log likelihood sum with the same semantics as the CPU implementation of RooBatchComputeInterface::reduceNLL(): zero-weight events are skipped, and evaluation problems are counted and accumulated into a "badness" value that the host can pack into a NaN for the error recovery in the minimizer.
The stats output has the layout [badness, nNonPositive, nNaN, nInfinite] and must be zero-initialized.
Definition at line 408 of file RooBatchCompute.cu.
Definition at line 39 of file RooBatchCompute.cu.
|
static |
Static object to trigger the constructor which overwrites the dispatch pointer.
Definition at line 792 of file RooBatchCompute.cu.