soedinglab / hh-suite

Remote protein homology detection suite.
https://bmcbioinformatics.biomedcentral.com/articles/10.1186/s12859-019-3019-7
GNU General Public License v3.0
515 stars 128 forks source link

consult source code about AVX512 #320

Open Zjq9409 opened 1 year ago

Zjq9409 commented 1 year ago

:exclamation: Make to check out our User Guide.

Expected Behavior

I want to implement AVX512 base on this version.

Current Behavior

In source file "hhviterbialgorithm.cpp",

ifdef AVX2
        unsigned long long * sCO_MI_DG_IM_GD_MM_vec = (unsigned long long *) viterbiMatrix->getRow(i);
#else
        unsigned int *sCO_MI_DG_IM_GD_MM_vec = (unsigned int *) viterbiMatrix->getRow(i);

if implement AVX512, What type sCO_MI_DG_IM_GD_MM_vec should convert? this convert type is related to VECSIZE_FLOAT?