Boost logo

Boost :

Subject: Re: [boost] interest in structure of arrays container?
From: Larry Evans (cppljevans_at_[hidden])
Date: 2016-10-31 14:07:31


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.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk