File indexing completed on 2026-04-09 07:49:19
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
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