Skip to content

Is it possible to re-use wfagpu_aligner_t for multiple alignments? #9

@fkallen

Description

@fkallen

From the code examples and API, it seems the following is the standard use case.

for each batch{
      wfagpu_initialize_aligner
      wfagpu_add_sequences from batch
      do settings
      wfagpu_align
      wfagpu_destroy_aligner
}

Is it possible to initialize the aligner once, and re-use it for all batches? This would avoid memory allocation for each batch.

wfagpu_initialize_aligner
for each batch{
      ???  reset aligner without reallocation ???

      wfagpu_add_sequences from batch
      do settings
      wfagpu_align
      
}
wfagpu_destroy_aligner

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions