Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-09 07:49:06

0001 /**
0002 QPMT_Test.cc : standalone built variant of om built QPMTTest.cc
0003 =================================================================
0004 
0005 Note this standalone built executable is now identical to the om build QPMTTest.cc,
0006 that is expedient for executable name based bookkeeping.
0007 
0008 **/
0009 
0010 #include <cuda_runtime.h>
0011 #include "OPTICKS_LOG.hh"
0012 #include "get_jpmt_fold.h"
0013 #include "QPMTTest.h"
0014 
0015 int main(int argc, char** argv)
0016 {
0017     OPTICKS_LOG(argc, argv);
0018 
0019     std::cout << " Before: " << QPMT<float>::Desc() << std::endl ;
0020 
0021     const NPFold* jpmt = get_jpmt_fold();
0022 
0023     QPMTTest<float> t(jpmt);
0024     NPFold* f = t.serialize();
0025     cudaDeviceSynchronize();
0026     f->save("$FOLD");
0027 
0028     std::cout << " Final: " << QPMT<float>::Desc() << std::endl ;
0029 
0030     return 0 ;
0031 }