Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Categories
- All Discussions1,524
- General534
- Graphics109
- GPU Computing419
- Mobile141
- Pro Graphics163
- Tools158
In this Discussion
- James Bigler February 10
Tags in this Discussion
- cuda 422
- optix 119
- rtutraversal 2
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.