NVIDIA-Genomics-Research / GenomeWorks

SDK for GPU accelerated genome assembly and analysis
https://clara-parabricks.github.io/GenomeWorks/
Apache License 2.0
286 stars 76 forks source link

[pygw] reference to stream getting lost in CudaAlignerBatch object #476

Open tijyojwad opened 4 years ago

tijyojwad commented 4 years ago

The reference to the stream object is getting lost somehow in CudaAlignerBatch object, because of which stream and batch are sometimes getting destroyed out of order. Explicit ref increment/decrement resolves the issue, but this should be handled by the automatic mechanism in python. This issue is to investigate why that's not working.