Skip to content
Snippets Groups Projects

Fix compilation warning on avx2

Merged Marco Cattaneo requested to merge cattanem-fix-PrPixel-gcc8-warning into master
1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
@@ -79,7 +79,8 @@ namespace {
namespace VeloTracking {
inline __attribute__( ( always_inline ) ) void sort_by_phi( PlaneSoA* Pin, PlaneSoA* Pout, int* perms, int n_hits ) {
inline __attribute__( ( always_inline ) ) void sort_by_phi( PlaneSoA* Pin, PlaneSoA* Pout, int* /* perms */,
int n_hits ) {
for ( int i = 0; i < n_hits; i += 8 ) {
__m256 key = compute_key( Pin, i );
_mm256_store_ps( &( Pout->phi[i] ), key );
Loading