Numerical Stream code

Brian Goetz brian.goetz at
Thu Feb 14 06:45:10 PST 2013

> The parallel version is almost certainly suffering false cache line
> sharing when adjacent tasks are writing to the shared arrays u0, etc.
> Nothing to do with streams, just a standard parallelism gotcha.

Cure: don't write to shared arrays from parallel tasks.

More information about the lambda-dev mailing list