Running an application using OptiX, I get the following error message when calling context->launch:
OptiX Error: 'Unknown error (Details: Function "RTresult _rtContextLaunch2D(RTcontext, unsigned int, RTsize, RTsize)" caught exception: Encountered a CUDA error: cudaDriver().CuMemcpyDtoHAsync( dstHost, srcDevice, byteCount, hStream.get() ) returned (702): Launch timeout
================================================================================
Backtrace:
(0) () +0x711f17
(1) () +0x7102cb
(2) () +0x30fe51
(3) () +0x5bc0c3
(4) () +0x5bce94
(5) () +0x1c81bf
(6) () +0x1c8946
(7) () +0x1c9557
(8) () +0x17a69b
(9) rtContextLaunch2D() +0x2b9
(10) runSimulation(int, char**, bool) +0x1c5
(11) __libc_start_main() +0xf0
(12) _start() +0x29
================================================================================
)'
What is the problem here and how can I fix it?
System information:
Linux 4.4.0-141-generic #167-Ubuntu SMP
NVIDIA-SMI 390.87
Device 0: "GeForce GTX TITAN X"
CUDA Driver Version / Runtime Version 9.1 / 9.1
CUDA Capability Major/Minor version number: 5.2
NVIDIA-OptiX-SDK-5.1.1-linux64