Skip to main content

Module gpu

Module gpu 

Source
Expand description

GPU-accelerated batch alignment.

Provides banded affine-gap alignment on Metal (macOS) and CUDA (NVIDIA) GPUs. Pairs that exceed the bandwidth or when no GPU is available fall back to CPU.

Re-exports§

pub use common::GpuAlignConfig;

Modules§

common
Shared host-side logic for GPU alignment: sequence encoding, traceback reconstruction, and partitioning.

Enums§

GpuBackend
Available GPU backend for alignment.

Functions§

align_batch_gpu
Batch-align sequence pairs on the GPU with default configuration.
align_batch_gpu_with_config
Batch-align sequence pairs on the GPU with explicit configuration.
align_batch_on
Batch-align on a specific GPU backend.
available_backends
Detect which GPU backends are available at runtime.