fixed AVX options in options.c

This commit is contained in:
Vasimuddin
2021-11-28 21:38:56 -08:00
committed by Heng Li
parent 23d4edfa31
commit 3b2eca139a
2 changed files with 5 additions and 5 deletions

View File

@@ -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

View File

@@ -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;