Closed johnh2o2 closed 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.
pycuda.driver.register_host_memory
BLSMemory.allocate_pinned_arrays
This removes calls to
pycuda.driver.register_host_memory
fromBLSMemory.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.