emiwar / caJulia

Fast CNMF-E implementation with Julia and CuArrays
0 stars 0 forks source link

Improve memory management in VideoLoaders #14

Open emiwar opened 1 year ago

emiwar commented 1 year ago

Idea: store segs in the device cache as views of an array that is big enough to fit any seg. Then, when loading a new seg, just overwrite the array and then change the view to fit the new. This should avoid any garbage collector issues.