Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
CudaInterface.cu File Reference
#include <RooFit/Detail/CudaInterface.h>
#include <stdexcept>
#include <sstream>
#include <string>
Include dependency graph for CudaInterface.cu:

Namespaces

namespace  RooFit
 The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or other types of arguments).
 
namespace  RooFit::Detail
 
namespace  RooFit::Detail::CudaInterface
 

Macros

#define ERRCHECK(err)   __checkCudaErrors((err), __func__, __FILE__, __LINE__)
 

Functions

static void __checkCudaErrors (cudaError_t error, std::string func, std::string file, int line)
 
float RooFit::Detail::CudaInterface::cudaEventElapsedTime (CudaEvent &begin, CudaEvent &end)
 Calculates the elapsed time between two CUDA events.
 
void RooFit::Detail::CudaInterface::cudaEventRecord (CudaEvent &event, CudaStream &stream)
 Records a CUDA event.
 

Macro Definition Documentation

◆ ERRCHECK

#define ERRCHECK (   err)    __checkCudaErrors((err), __func__, __FILE__, __LINE__)

Definition at line 19 of file CudaInterface.cu.

Function Documentation

◆ __checkCudaErrors()

static void __checkCudaErrors ( cudaError_t  error,
std::string  func,
std::string  file,
int  line 
)
inlinestatic

Definition at line 20 of file CudaInterface.cu.