To sum the elements of a range in parallel:
sum(execution::parallel_policy, x)
Or let scistats infer if it is worth doing it in parallel:
scistats
sum(x)
sum
prod