Attention une mise à jour du service Gitlab va être effectuée le mardi 14 décembre entre 13h30 et 14h00. Cette mise à jour va générer une interruption du service dont nous ne maîtrisons pas complètement la durée mais qui ne devrait pas excéder quelques minutes.

Commit 236ddb9f authored by BRAMAS Berenger's avatar BRAMAS Berenger
Browse files

remove bug when using sse non mutual

parent c521f834
...@@ -524,7 +524,7 @@ public: ...@@ -524,7 +524,7 @@ public:
for(int idxNeighbors = 0 ; idxNeighbors < limiteNeighbors ; ++idxNeighbors){ for(int idxNeighbors = 0 ; idxNeighbors < limiteNeighbors ; ++idxNeighbors){
if( inNeighbors[idxNeighbors] ){ if( inNeighbors[idxNeighbors] ){
const int nbParticlesSources = inNeighbors[idxNeighbors]->getNbParticles()/2; const int nbParticlesSources = (inNeighbors[idxNeighbors]->getNbParticles()+1)/2;
const __m128d*const sourcesPhysicalValues = (const __m128d*)inNeighbors[idxNeighbors]->getPhysicalValues(); const __m128d*const sourcesPhysicalValues = (const __m128d*)inNeighbors[idxNeighbors]->getPhysicalValues();
const __m128d*const sourcesX = (const __m128d*)inNeighbors[idxNeighbors]->getPositions()[0]; const __m128d*const sourcesX = (const __m128d*)inNeighbors[idxNeighbors]->getPositions()[0];
const __m128d*const sourcesY = (const __m128d*)inNeighbors[idxNeighbors]->getPositions()[1]; const __m128d*const sourcesY = (const __m128d*)inNeighbors[idxNeighbors]->getPositions()[1];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment