HadrienG2 / phalanstery

Experiments with user-mode tasking in Ada
GNU General Public License v3.0
4 stars 0 forks source link

Add data-parallel primitives #4

Open HadrienG2 opened 8 years ago

HadrienG2 commented 8 years ago

In many cases, the full power of a tasking model is not needed, and people can safely perform parallel computations using simple parallel primitives inspired by functional languages such as map, filter, and reduce. Vector operations are also another popular way to add parallelism to serial applications.

Once the core tasking model is stabilized, we should definitely investigate adding such primitives for best common-case usability. There might be some hope of code sharing with the Paraffin Ada library, and there is a lot of design to study and reuse in popular C++ libraries such as the STL, Thrust or ArrayFire.

HadrienG2 commented 8 years ago

This issue could be a direct continuation of #20 , where after designing the algorithms one would implement them.