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 GPU functionality #126

Closed computablee closed 10 months ago

computablee commented 10 months ago

Which issue are you addressing?

This issue addresses a previous discussion on adding GPU support.

How have you addressed the issue?

Minimal GPU support is now supported via the ILGPU project. The approach that DotMP takes is not dissimilar to SYCL in its memory semantics, but tries to be faithful to the CPU API in how kernels are dispatched. More details will be added to the wiki.

How have you tested your patch?

There is an extremely minimal set of tests in the DotMP-Tests folder for GPU. This will need to be updated in the future.

codecov[bot] commented 10 months ago

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (2db30d0) 99.19% compared to head (6fbab81) 99.09%.

Files Patch % Lines
DotMP/GPU/Buffer.cs 96.96% 0 Missing and 2 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #126 +/- ## ========================================== - Coverage 99.19% 99.09% -0.10% ========================================== Files 12 13 +1 Lines 1360 1431 +71 Branches 146 155 +9 ========================================== + Hits 1349 1418 +69 Misses 5 5 - Partials 6 8 +2 ```

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