Hello,
I’m trying to use Optix Prime 3.7 beta 3 to replace my own OpenCL/CUDA ray tracer.
Unfortunatly, when i launch my app, display driver times out or my computer crash with a blue screen (win 8.1).
The scene is small with 926120 triangles and 468827 vertices. I create 2 queries of 1048576 rays (ORIGIN_TMIN_DIR_TMAX) and so 1048576 hits (D_TRIID_U_V).
configuration : NVIDIA GeForce GTX TITAN, driver 347.52, Intel(R) Xeon(R) CPU E5620 @ 2.40GHz
Are there limitations on number of queries, query size or model size ? Where can i find specifications about these limitations ?
I traced exec with OPTIX_API_CAPTURE but calls seem to be well ordered.
4
64
Platform: Windows
Capture time: 2015-02-25 15:57
%%
rtpContextCreate( 257, 000000DBF11F84F0 )
res = 0
hdl = 000000DBF11F8670
rtpContextSetCudaDeviceNumbers( 000000DBF11F8670, 1, 000000DBAAC810C0 )
val = 0
res = 0
rtpBufferDescCreate( 000000DBF11F8670, 1025, 513, 0000000904740000, 000000DBAAC810C0 )
res = 0
hdl = 000000DBF11F8E20
rtpBufferDescSetRange( 000000DBF11F8E20, 0, 926120 )
res = 0
rtpBufferDescCreate( 000000DBF11F8670, 1056, 513, 0000000905580000, 000000DBAAC9F1C0 )
res = 0
hdl = 000000DBF11F8990
rtpBufferDescSetRange( 000000DBF11F8990, 0, 468827 )
res = 0
rtpBufferDescSetStride( 000000DBF11F8990, 32 )
res = 0
rtpModelCreate( 000000DBF11F8670, 000000DBAAC94250 )
res = 0
hdl = 000000DBF11F8A10
rtpModelSetTriangles( 000000DBF11F8A10, 000000DBF11F8E20, 000000DBF11F8990 )
file::prime::0000000904740000 = oac.prime.000000.potx // indices
file::prime::0000000905580000 = oac.prime.000001.potx // vertices
res = 0
rtpModelUpdate( 000000DBF11F8A10, 8193 )
res = 0
rtpBufferDescCreate( 000000DBF11F8670, 1089, 513, 00000009148C0000, 000000DBAABD3150 )
res = 0
hdl = 000000DBF078C9D0
rtpBufferDescSetRange( 000000DBF078C9D0, 0, 1048576 )
res = 0
rtpBufferDescCreate( 000000DBF11F8670, 1123, 513, 00000009168C0000, 000000DBAABC7B50 )
res = 0
hdl = 000000DBF078CA50
rtpBufferDescSetRange( 000000DBF078CA50, 0, 1048576 )
res = 0
rtpModelFinish( 000000DBF11F8A10 )
res = 0
rtpQueryCreate( 000000DBF11F8A10, 4097, 000000DBAABCB350 )
res = 0
hdl = 000000DBF078CAD0
rtpQuerySetRays( 000000DBF078CAD0, 000000DBF078C9D0 )
file::prime::00000009148C0000 = oac.prime.000002.potx // rays_api
res = 0
rtpQuerySetHits( 000000DBF078CAD0, 000000DBF078CA50 )
file::prime::00000009168C0000 = oac.prime.000003.potx // hits_api
res = 0
rtpQueryExecute( 000000DBF078CAD0, 16385 )
res = 0
rtpBufferDescCreate( 000000DBF11F8670, 1089, 513, 000000091A0C0000, 000000DBAA9E1870 )
res = 0
hdl = 000000DBAC3CFB70
rtpBufferDescSetRange( 000000DBAC3CFB70, 0, 1048576 )
res = 0
rtpBufferDescCreate( 000000DBF11F8670, 1123, 513, 000000091C0C0000, 000000DBAA9B27C0 )
res = 0
hdl = 000000DBAC3CFBF0
rtpBufferDescSetRange( 000000DBAC3CFBF0, 0, 1048576 )
res = 0
rtpModelFinish( 000000DBF11F8A10 )
res = 0
rtpQueryCreate( 000000DBF11F8A10, 4096, 000000DBAA95ADE0 )
res = 0
hdl = 000000DBAC2BB2D0
rtpQuerySetRays( 000000DBAC2BB2D0, 000000DBAC3CFB70 )
file::prime::000000091A0C0000 = oac.prime.000004.potx // rays_api
res = 0
rtpQuerySetHits( 000000DBAC2BB2D0, 000000DBAC3CFBF0 )
file::prime::000000091C0C0000 = oac.prime.000005.potx // hits_api
res = 0
rtpQueryExecute( 000000DBAC2BB2D0, 16385 )
res = 0
rtpQuerySetCudaStream( 000000DBF078CAD0, 000000DBB0840D30 )
res = 0
rtpBufferDescSetRange( 000000DBF078C9D0, 0, 1048576 )
res = 0
rtpBufferDescSetRange( 000000DBF078CA50, 0, 1048576 )
res = 0
rtpQueryExecute( 000000DBF078CAD0, 16385 )
res = 0
Thanks.