mirror of
https://github.com/lh3/minimap2.git
synced 2026-09-15 13:07:55 +08:00
check hardware support for avx2/512
This commit is contained in:
2
align.c
2
align.c
@@ -364,7 +364,7 @@ static void mm_align_pair(void *km, const mm_mapopt_t *opt, int qlen, const uint
|
||||
else if (opt->q == opt->q2 && opt->e == opt->e2)
|
||||
ksw_extz2_sse(km, qlen, qseq, tlen, tseq, 5, mat, opt->q, opt->e, w, zdrop, end_bonus, flag, ez);
|
||||
else{
|
||||
#ifdef ALIGN_AVX
|
||||
#ifdef ALIGN_AVX && (__AVX512BW__ || __AVX2__)
|
||||
#ifdef __AVX512BW__
|
||||
ksw_extd2_avx512(km, qlen, qseq, tlen, tseq, 5, mat, opt->q, opt->e, opt->q2, opt->e2, w, zdrop, end_bonus, flag, ez);
|
||||
#elif __AVX2__
|
||||
|
||||
Reference in New Issue
Block a user