Closed mlamarre closed 1 year ago
I'm porting existing code from mitsuba2/enoki, I didn't find the drjit function to release the cuda memory pool which was available in ek. Thanks!
Found the answer in mitsuba3 (maybe only dr.flush_malloc_cache is required):
dr.flush_malloc_cache
dr.kernel_history_clear() dr.flush_malloc_cache() dr.malloc_clear_statistics() dr.flush_kernel_cache()
I'm porting existing code from mitsuba2/enoki, I didn't find the drjit function to release the cuda memory pool which was available in ek. Thanks!