Floating Point + Threads?
dsimcha
dsimcha at yahoo.com
Sat Apr 16 07:05:39 PDT 2011
On 4/15/2011 11:40 PM, Andrei Alexandrescu wrote:
> On 4/15/11 10:22 PM, dsimcha wrote:
>> I'm trying to debug an extremely strange bug whose symptoms appear in a
>> std.parallelism example, though I'm not at all sure the root cause is in
>> std.parallelism. The bug report is at
>> https://github.com/dsimcha/std.parallelism/issues/1#issuecomment-1011717
>> .
>
> Does the scheduling affect the summation order?
>
> Andrei
No. I realize floating point addition isn't associative, but unless
there's some detail I'm forgetting about, the ordering is deterministic
within each work unit and the ordering of the final summation is
deterministic.
More information about the Digitalmars-d
mailing list