fixed AVX options in options.c

This commit is contained in:
Vasimuddin
2021-11-29 08:39:00 -05:00
committed by Heng Li
parent 23d4edfa31
commit 3b2eca139a
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ In the current version, all the modules are optimized using **AVX-512** and **AV
### System requirement ### System requirement
Operating System: Linux Operating System: Linux
mm2-fast was tested using g++ (GCC) 9.2.0 and icpc version 19.1.3.304 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 Memory requirement: ~30GB for human genome
### Installation ### Installation
+4 -4
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->bw = mo->bw_long = 2000;
mo->occ_dist = 0; mo->occ_dist = 0;
} else if (strcmp(preset, "map10k") == 0 || strcmp(preset, "map-pb") == 0) { } else if (strcmp(preset, "map10k") == 0 || strcmp(preset, "map-pb") == 0) {
#if defined (PARALLEL_CHAINING) && (defined(__AVX2__)) #if defined (PARALLEL_CHAINING) && (defined(__AVX2__)) && (!defined(__AVX512BW__))
enable_vect_dp_chaining = false; enable_vect_dp_chaining = false;
#endif #endif
io->flag |= MM_I_HPC, io->k = 19; io->flag |= MM_I_HPC, io->k = 19;
} else if (strcmp(preset, "ava-pb") == 0) { } 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->bw_long = mo->bw;
mo->occ_dist = 0; mo->occ_dist = 0;
} else if (strcmp(preset, "map-hifi") == 0 || strcmp(preset, "map-ccs") == 0) { } else if (strcmp(preset, "map-hifi") == 0 || strcmp(preset, "map-ccs") == 0) {
#if defined (PARALLEL_CHAINING) && (defined(__AVX2__)) #if defined (PARALLEL_CHAINING) && (defined(__AVX2__)) && (!defined(__AVX512BW__))
enable_vect_dp_chaining = false; enable_vect_dp_chaining = false;
#endif #endif
io->flag = 0, io->k = 19, io->w = 19; io->flag = 0, io->k = 19, io->w = 19;
mo->max_gap = 10000; mo->max_gap = 10000;