6 #include <thrust/device_vector.h> 7 #include <thrust/host_vector.h> 15 __host__
void extractHistogram(thrust::host_vector<fptype> &host_hist) { host_hist = *dev_base_histogram; }
19 thrust::device_vector<fptype> *dev_base_histogram;
20 thrust::device_vector<fptype> *dev_smoothed_histogram;
24 static unsigned int totalHistograms;
__host__ void copyHistogramToDevice(thrust::host_vector< fptype > &host_histogram)
__host__ void extractHistogram(thrust::host_vector< fptype > &host_hist)
SmoothHistogramPdf(std::string n, BinnedDataSet *x, Variable smoothing)
__host__ fptype normalize() const override