You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many of the loops will have to be rewritten as std::transform, for_each, and reduce lambda operations.
Before we start using the c++17 ts, we can test libstdc++ STL parallelism with -fopenmp -D_GLIBCXX_PARALLEL. Almost no change to the code is needed, but as far as I can see the only improvement would be on sort() which is pointless.
The macro trick does not work with the requirement from the standard. You should rename the offending names to make it well-defined, or more idiomatically, avoid these macro names at all.
Many of the loops will have to be rewritten as
std::transform
,for_each
, andreduce
lambda operations.Before we start using the c++17 ts, we can test libstdc++ STL parallelism with
-fopenmp -D_GLIBCXX_PARALLEL
. Almost no change to the code is needed, but as far as I can see the only improvement would be onsort()
which is pointless.Possible implementation:
The text was updated successfully, but these errors were encountered: