computablee / DotMP

A collection of powerful abstractions for parallel programming in .NET with an OpenMP-like API.
https://computablee.github.io/DotMP/
GNU Lesser General Public License v2.1
29 stars 8 forks source link

Implement tasking system #32

Closed computablee closed 1 year ago

computablee commented 1 year ago

This PR aims to implement a tasking system into DotMP. It won't be as robust as OpenMP, but my hope is that it can be expanded upon in the future. This PR includes:

All in accordance with #31. Opening as a draft for now, will complete when everything is finished.

computablee commented 1 year ago

Most of the work is done, but currently there are some major performance issues after adding dependencies. Keeping track of dependencies is proving to be an expensive operation, so I will need to rethink the DAG class.