Parallel processing and further use of output

Jay Norwood via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Sep 26 08:56:53 PDT 2015


std.parallelism.reduce documentation provides an example of a 
parallel sum.

This works:
auto sum3 = taskPool.reduce!"a + b"(iota(1.0,1000001.0));

This results in a compile error:
auto sum3 = taskPool.reduce!"a + b"(iota(1UL,1000001UL));

I believe there was discussion of this problem recently ...



More information about the Digitalmars-d-learn mailing list