17#ifndef ROOFIT_BATCHCOMPUTE_ROOVDTHEADERS_H
18#define ROOFIT_BATCHCOMPUTE_ROOVDTHEADERS_H
25#include "RConfigure.h"
27#if defined(R__HAS_VDT) && !defined(__CUDACC__)
38 return vdt::fast_exp(
x);
43 return vdt::fast_sin(
x);
48 return vdt::fast_cos(
x);
53 return vdt::fast_log(
x);
58 return vdt::fast_isqrt(
x);
90 return 1. / std::sqrt(
x);
Namespace for dispatching RooFit computations to various backends.
__roodevice__ double fast_exp(double x)
__roodevice__ double fast_sin(double x)
__roodevice__ double fast_log(double x)
__roodevice__ double fast_cos(double x)
__roodevice__ double fast_isqrt(double x)