From c7014f350dd02e6c8d4a456b9b1df715277419c3 Mon Sep 17 00:00:00 2001 From: Bernhard Manfred Gruber Date: Tue, 2 Jan 2024 22:22:57 +0100 Subject: [PATCH] Align manual AoSoA SIMD blocks to SIMD width Instead of 64. --- examples/nbody/nbody.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/nbody/nbody.cpp b/examples/nbody/nbody.cpp index 455aeb5c7c..9f09632496 100644 --- a/examples/nbody/nbody.cpp +++ b/examples/nbody/nbody.cpp @@ -1018,7 +1018,7 @@ namespace manualAoSoAManualAVX namespace manualAoSoASIMD { template - struct alignas(64) ParticleBlock + struct alignas(sizeof(Simd)) ParticleBlock { struct { @@ -1029,7 +1029,6 @@ namespace manualAoSoASIMD Simd mass; }; - template inline void pPInteraction( Simd piposx,