31 Oct
2016
31 Oct
'16
6:07 p.m.
On 10/31/2016 12:51 PM, Larry Evans wrote:
On 10/31/2016 12:00 PM, Michael Marcin wrote:
On 10/31/2016 9:14 AM, Larry Evans wrote:
[snip] particle_count=1,000 is not a multiple of 64, the optimized energe/alive loop processes 64 particles at a time. I haven't bothered to analyze what the code will do in this case but memory corruption is likely
I see. However, still, since the calls to the _mm_* functions in the previous loop all are called with i%4==0 (because the i increment is i+=4) here:
[snip] OOPS. Never mind. the e_i is at increments of 4. Sorry for noise.