NVIDIA-Genomics-Research / GenomeWorks

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

cuda aligner API to take in max available memory and max ref/query sizes #107

Open tijyojwad opened 5 years ago

tijyojwad commented 5 years ago
  1. each aligner batch to take in max memory and max ref/query sizes and determine how many how alignments can be performed in the batch.
  2. provide api to check max alignments possible
  3. actual max alignments may me larger based on inputs processed so far, and actual max can be determined by continually adding and checking return value of add alignment api call
tijyojwad commented 3 years ago

Done for banded Myers implementation, but Hirschberg still uses old API that doesn't cap memory from the API itself