johnh2o2 / cuvarbase

Python library for fast time-series analysis on CUDA GPUs
https://johnh2o2.github.io/cuvarbase/index.html
GNU General Public License v3.0
24 stars 4 forks source link

Bugfix/memory leak in bls #5

Closed johnh2o2 closed 3 years ago

johnh2o2 commented 3 years ago

This removes calls to pycuda.driver.register_host_memory from BLSMemory.allocate_pinned_arrays. It seems this is the source of the memory leak problems, and in real-world tests it doesn't seem to make a measurable difference in speed.