stapl::array<int> a{n};
auto view = stapl::make_array_view(a);
stapl::iota(view, 0);
stapl::transform(view, view, [](auto x) {
return x % 2 == 0 ? x : 0;
});
auto sum = stapl::accumulate(view, 0);
std::cout << "Sum of even numbers is " << sum << "!\n";
Blazingly fast distributed-memory framework built on top of MPI and OpenMP.
Run on the world's largest supercomputers or your dual-core laptop with the same code.
Get up and running creating your own processing pipelines with little mental overhead.
C++11 and C++14 facilities are supported and used in our design and implementation.
Provides a comprehensive suite of parallel algorithms and parallel containers out of the box.
We are currently in closed beta. Receive access to our private GitLab repository by providing some basic contact information.