Likelihood (GPU)¶
numba-cuda implementation of Felsenstein pruning, bandwidth-optimized for NVIDIA Blackwell (sm_12x).
log_likelihood_gpu
¶
Compute total log-likelihood via GPU Felsenstein pruning.
Dispatches to a 4-state kernel for DNA or a 20-state kernel for AA. Stateless: allocates device arrays per call.
Felsenstein (1981). Ayres et al. (2019). Ref: quarimo.
Source code in src/hifuku/gpu_pruning.py
|