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 7 forks source link

Major refactoring #104

Closed computablee closed 1 year ago

computablee commented 1 year ago

Which issue are you addressing?

No current issue, but needed to be done

How have you addressed the issue?

There has been a lot of refactoring of code inside Init.cs, Iter.cs, and Scheduler.cs. Code is now consolidated into Schedule.cs and WorkShare.cs. The Iter class no longer exists, and the PerformLoop method was moved to be a method on WorkShare. Greater organization is used.

How have you tested your patch?

All unit tests pass.

codecov[bot] commented 1 year ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (7c21ee3) 99.12% compared to head (e140dc3) 99.12%. Report is 2 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #104 +/- ## ========================================== - Coverage 99.12% 99.12% -0.01% ========================================== Files 12 12 Lines 1138 1137 -1 Branches 113 113 ========================================== - Hits 1128 1127 -1 Misses 5 5 Partials 5 5 ``` | [Files](https://app.codecov.io/gh/computablee/DotMP/pull/104?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Phillip+Allen+Lane) | Coverage Δ | | |---|---|---| | [DotMP/Parallel.cs](https://app.codecov.io/gh/computablee/DotMP/pull/104?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Phillip+Allen+Lane#diff-RG90TVAvUGFyYWxsZWwuY3M=) | `98.97% <100.00%> (-0.01%)` | :arrow_down: | | [DotMP/Schedule.cs](https://app.codecov.io/gh/computablee/DotMP/pull/104?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Phillip+Allen+Lane#diff-RG90TVAvU2NoZWR1bGUuY3M=) | `92.30% <ø> (ø)` | | | [DotMP/WorkShare.cs](https://app.codecov.io/gh/computablee/DotMP/pull/104?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Phillip+Allen+Lane#diff-RG90TVAvV29ya1NoYXJlLmNz) | `99.08% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.