Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooBatchCompute.cu File Reference
#include "RooBatchCompute.h"
#include "Batches.h"
#include <ROOT/RConfig.hxx>
#include <TError.h>
#include <algorithm>
Include dependency graph for RooBatchCompute.cu:

Classes

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

Namespaces

namespace  RooBatchCompute
 Namespace for dispatching RooFit computations to various backends.
 
namespace  RooBatchCompute::RF_ARCH
 

Functions

std::vector< void(*)(BatchesHandle)> RooBatchCompute::RF_ARCH::getFunctions ()
 Returns a std::vector of pointers to the compute functions in this file.
 
__global__ void RooBatchCompute::RF_ARCH::kahanSum (const double *__restrict__ input, const double *__restrict__ carries, size_t n, double *__restrict__ result, bool nll)
 
__device__ void RooBatchCompute::RF_ARCH::kahanSumReduction (double *shared, size_t n, double *__restrict__ result, int carry_index)
 
__device__ void RooBatchCompute::RF_ARCH::kahanSumUpdate (double &sum, double &carry, double a, double otherCarry)
 
__global__ void RooBatchCompute::RF_ARCH::nllSumKernel (const double *__restrict__ probas, const double *__restrict__ weights, const double *__restrict__ offsetProbas, size_t n, double *__restrict__ result)
 

Variables

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