Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-09 07:48:53

0001 /**
0002 CSGSimtraceRerunTest.cc : repeating simtrace GPU intersects on the CPU with the csg_intersect CUDA code
0003 ========================================================================================================
0004 
0005 Roughly based on CSGQueryTest.cc but updated for simtrace array reruns
0006 
0007 For full detail reporting suitable only for single (or few) intersections 
0008 it is necessary to recompile with DEBUG and DEBUG_RECORD. 
0009 
0010 **/
0011 
0012 #include "OPTICKS_LOG.hh"
0013 #include "CSGSimtraceRerun.h"
0014 
0015 int main(int argc, char** argv)
0016 {
0017     OPTICKS_LOG(argc, argv); 
0018 
0019     CSGSimtraceRerun t ; 
0020     t.intersect_again(); 
0021     t.save(); 
0022     t.report(); 
0023 
0024     return 0 ;
0025 }
0026 
0027