I’ve just upgraded to OptiX 3.8 final and CUDA 7.0, which the documentation seems to indicate is the preferred CUDA version. When my code includes a line to throw an RT_EXCEPTION_*, I get the following error:
Unknown error (Details: Function "_rtContextLaunch3D" caught exception: Encountered a CUDA error: result returned (700): Unknown, )
Interestingly, the error doesn’t happen the first time the kernel is run (it runs several times in a row), and it doesn’t happen when an exception is thrown (the exception is in an if statement which is never called). However, removing the line that throws the exception causes the error to go away.
If I point VS2013 to use CUDA 6.5 instead of CUDA 7.0, there is no error. My program does have CUDA kernels as well as OptiX.
OptiX 3.8, CUDA 7.0, Driver 348.07, Windows 7, 2x Tesla K40