Skip to content

Tracking - AVX512 compilation fixes

Christopher Rob Jones requested to merge Tr-AVX512Fixes into master

Address a number of minor issues when building with AVX512 enabled.

In file included from ../Tr/TrackVectorFit/TrackVectorFit/vector/TrackProjector.h:14,
                 from ../Tr/TrackFitter/src/TrackVectorFitter.cpp:14:
../Tr/TrackVectorFit/TrackVectorFit/vector/TrajPoca.h:303:73: error: ambiguous overload for ‘operator&&’ (operand types are ‘const bool’ and ‘Vec8db’)
           const itype_bool rrange = ostep || itype_bool((restrictRange1 && abs(step1) > 1.0e-10))
                                                         ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
../Tf/PatAlgorithms/src/PatFwdTool.cpp:461:80: error: invalid use of incomplete type ‘struct vector_type<double, 8>’
             using double_v = typename vector_type<double,sizeof...(hits)>::type;
                                                                                ^
In file included from ../Tf/PatAlgorithms/src/PatFwdTool.cpp:28:
../Tf/PatAlgorithms/src/VectorizationSupport.h:21:39: note: declaration of ‘struct vector_type<double, 8>’
 template <typename T,size_t N> struct vector_type;

FYI @dcampora @graven

Edited by Marco Cattaneo

Merge request reports