Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Tags in this Discussion

rtuTraversal memory usage
  • Is there a way to clean up a part of the memory used by rtuTraversal, without using rtuTraversalDestroy ?

    I've got a loop where I first launch rays with rtuTraversal, get the results and then send them back to the GPU for a CUDA computation. If there are many rays, there is not much memory left for the CUDA part.

    Currently, I call rtuTraversalDestroy to free the memory. The drawback is that I have to reset the geometry with rtuTraversalCreate at each iteration.
  • 1 Comment sorted by
  • We'll consider this. Right now as you have discovered we only grow the buffer sizes if the number of rays increases.