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

Add test for `Parallel.MasterTaskloop` #83

Closed computablee closed 11 months ago

computablee commented 11 months ago

This PR simply modifies the implementation of saxpy_parallelregion_for_taskloop to call Parallel.MasterTaskloop instead of Parallel.ParallelMasterTaskloop. This increases code coverage because ParallelMasterTaskloop is already tested elsewhere in the code.

codecov[bot] commented 11 months ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Comparison is base (62b7900) 89.31% compared to head (778f879) 90.06%. Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #83 +/- ## ========================================== + Coverage 89.31% 90.06% +0.74% ========================================== Files 11 11 Lines 805 805 Branches 86 86 ========================================== + Hits 719 725 +6 + Misses 64 58 -6 Partials 22 22 ``` [see 1 file with indirect coverage changes](https://app.codecov.io/gh/computablee/DotMP/pull/83/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Phillip+Allen+Lane)

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