I have developed a Radiation Transfer solver using Opitx 3.9 by modifying the “Tutorial” example.Everything was working fine but to improve the performance I have updated my SDK to Optix 4.1. There is a huge change in the structure of the program.
The problem is, previously I was mapping several buffers inside “Trace” function before launching the rays and then un-mapping into a variable to solve the equations inside trace ,it was working fine. But, in optix 4.1, I am doing the same things inside “glutDisplay” function. The problem is when I initialize a buffer inside glutDisplay function it becomes very very slow. It is exactly the same thing which I did in Optix 3.9.
Is this a issue of a driver or it is due to any change in Opitx 4.1 SDK ? I have tried several Acceleration structures as well, the problem remains the same.
Can you suggest any alternate method to load and unload buffers?
OS: Centos 7.
GPU: Titan X.
The problem has been solved