mirror of
https://github.com/lh3/minimap2.git
synced 2026-09-15 13:07:55 +08:00
fixed AVX options in options.c
This commit is contained in:
@@ -7,7 +7,7 @@ In the current version, all the modules are optimized using **AVX-512** and **AV
|
||||
### System requirement
|
||||
Operating System: Linux
|
||||
mm2-fast was tested using g++ (GCC) 9.2.0 and icpc version 19.1.3.304
|
||||
Architecture: x86\_64 CPUs with [AVX512][AVX2](https://en.wikipedia.org/wiki/Advanced_Vector_Extensions)
|
||||
Architecture: x86\_64 CPUs with [AVX512, AVX2](https://en.wikipedia.org/wiki/Advanced_Vector_Extensions)
|
||||
Memory requirement: ~30GB for human genome
|
||||
|
||||
### Installation
|
||||
|
||||
@@ -94,8 +94,8 @@ int mm_set_opt(const char *preset, mm_idxopt_t *io, mm_mapopt_t *mo)
|
||||
mo->bw = mo->bw_long = 2000;
|
||||
mo->occ_dist = 0;
|
||||
} else if (strcmp(preset, "map10k") == 0 || strcmp(preset, "map-pb") == 0) {
|
||||
#if defined (PARALLEL_CHAINING) && (defined(__AVX2__))
|
||||
enable_vect_dp_chaining = false;
|
||||
#if defined (PARALLEL_CHAINING) && (defined(__AVX2__)) && (!defined(__AVX512BW__))
|
||||
enable_vect_dp_chaining = false;
|
||||
#endif
|
||||
io->flag |= MM_I_HPC, io->k = 19;
|
||||
} else if (strcmp(preset, "ava-pb") == 0) {
|
||||
@@ -105,8 +105,8 @@ int mm_set_opt(const char *preset, mm_idxopt_t *io, mm_mapopt_t *mo)
|
||||
mo->bw_long = mo->bw;
|
||||
mo->occ_dist = 0;
|
||||
} else if (strcmp(preset, "map-hifi") == 0 || strcmp(preset, "map-ccs") == 0) {
|
||||
#if defined (PARALLEL_CHAINING) && (defined(__AVX2__))
|
||||
enable_vect_dp_chaining = false;
|
||||
#if defined (PARALLEL_CHAINING) && (defined(__AVX2__)) && (!defined(__AVX512BW__))
|
||||
enable_vect_dp_chaining = false;
|
||||
#endif
|
||||
io->flag = 0, io->k = 19, io->w = 19;
|
||||
mo->max_gap = 10000;
|
||||
|
||||
Reference in New Issue
Block a user