GooFit  v2.1.3
FunctorWriter.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <thrust/host_vector.h>
4 
5 #include <goofit/GlobalCudaDefines.h> // Need this for 'fptype'
6 
7 namespace GooFit {
8 
9 class PdfBase;
10 
11 void writeToFile(PdfBase *pdf, const char *fname);
12 void readFromFile(PdfBase *pdf, const char *fname);
13 
14 void writeListOfNumbers(thrust::host_vector<fptype> &target, const char *fname);
15 void readListOfNumbers(thrust::host_vector<fptype> &target, const char *fname);
16 
17 } // namespace GooFit
void readListOfNumbers(thrust::host_vector< fptype > &target, const char *fname)
void writeToFile(PdfBase *pdf, const char *fname)
void writeListOfNumbers(thrust::host_vector< fptype > &target, const char *fname)
void readFromFile(PdfBase *pdf, const char *fname)