Back to home page

EIC code displayed by LXR

 
 

    


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

0001 /**
0002 SOPTIX_Pipeline_test.sh 
0003 =======================
0004 
0005 ::
0006  
0007     ~/o/sysrap/tests/SOPTIX_Pipeline_test.sh 
0008     ~/o/sysrap/tests/SOPTIX_Pipeline_test.cc
0009 
0010 Related::
0011 
0012     ~/o/sysrap/tests/SOPTIX_Module_test.sh
0013 
0014 **/
0015 
0016 #include "spath.h"
0017 #include "scuda.h"
0018 
0019 #include "SOPTIX.h"
0020 #include "SOPTIX_Module.h"
0021 #include "SOPTIX_Pipeline.h"
0022 
0023 int main()
0024 {
0025     SOPTIX opx ; 
0026     std::cout << opx.desc() ; 
0027 
0028     SOPTIX_Options opt ;  
0029 
0030     const char* _ptxpath = "$OPTICKS_PREFIX/ptx/CSGOptiX_generated_CSGOptiX7.cu.ptx" ; 
0031     SOPTIX_Module mod(opx.context, opt,  _ptxpath );  
0032     std::cout << mod.desc() ; 
0033 
0034     SOPTIX_Pipeline pip(opx.context, mod.module, opt ); 
0035     std::cout << pip.desc() ; 
0036 
0037     return 0 ; 
0038 }
0039