Back to home page

EIC code displayed by LXR

 
 

    


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

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