Skip to content

Fix PrMatchNN compilation on avx512 platforms

Andre Gunther requested to merge gunther-fix-prnn-avx512 into master

b4f8327c introduced a bug on platforms with AVX512 enabled because operator& is not implemented for the avx512 mask type. The solution is to use operator&& which is implemented for all platforms and also avoids the high-level notion of a bitwise AND. The ci-test does not catch this, because the platform is not tested by default. The build error can be seen in https://lhcb-nightlies.web.cern.ch/nightly/lhcb-head/3598/Rec/x86_64_v4+vecwid256-centos7-gcc11-opt/build.

Merge request reports