Making the 1D Stencil example a fair comparison between OMP and HPX


________________________________
________________________________
From: Thomas Heller <notifications@github.com>
Sent: Thursday, August 21, 2014 12:57 PM
To: STEllAR-GROUP/hpx
Cc: Patricia Grubel
Subject: Re: [hpx] Making the 1D Stencil example a fair comparison between OMP and HPX (#1227)


In examples/1d_stencil/1d_stencil_3_omp.cpp:

> @@ -106,9 +106,7 @@ struct stepper
>
>          next[0] = heat(left[size-1], middle[0], middle[1]);
>
> -        // Visual Studio requires OMP loop variables to be signed :/
> -        # pragma omp parallel for
> -        for (boost::int64_t i = 1; i < boost::int64_t(size-1); ++i)
> +        for (std::size_t i = 1; i != size-1; ++i)


Loop variables are not signed anymore.

-
Reply to this email directly or view it on GitHub<https://github.com/STEllAR-GROUP/hpx/pull/1227/files#r16559426>.