juntyr / necsim-rust

Spatially explicit biodiversity simulations using a parallel library written in Rust
https://juntyr.github.io/necsim-rust-docs/
Apache License 2.0
2 stars 2 forks source link

Minimum upgrade to async-capable rust-cuda v2 #276

Closed juntyr closed 3 months ago

juntyr commented 3 months ago

Supersedes #230 (too widely scoped) and #271 (for easier rebases). Also, this PR is no longer blocked on #79.

This PR upgrades rust-cuda to the latest version which has simplified and improved the PTX kernel API, added support for async kernel execution and memory transfers, and fixed some memory safety issues.

codecov-commenter commented 3 months ago

Codecov Report

Attention: Patch coverage is 0% with 353 lines in your changes are missing coverage. Please review.

Project coverage is 16.23%. Comparing base (0602676) to head (11981ee).

Files Patch % Lines
.../algorithms/cuda/src/parallelisation/monolithic.rs 0.00% 84 Missing :warning:
rustcoalescence/algorithms/cuda/src/launch.rs 0.00% 66 Missing :warning:
rustcoalescence/algorithms/cuda/src/lib.rs 0.00% 56 Missing :warning:
necsim/impls/cuda/src/event_buffer.rs 0.00% 19 Missing :warning:
...oalescence/algorithms/cuda/cpu-kernel/src/patch.rs 0.00% 18 Missing :warning:
necsim/core/src/simulation/mod.rs 0.00% 7 Missing :warning:
necsim/impls/cuda/src/cogs/maths.rs 0.00% 7 Missing :warning:
...nce/algorithms/gillespie/src/event_skipping/mod.rs 0.00% 6 Missing :warning:
...lgorithms/gillespie/src/gillespie/classical/mod.rs 0.00% 6 Missing :warning:
...algorithms/gillespie/src/gillespie/turnover/mod.rs 0.00% 6 Missing :warning:
... and 52 more

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #276 +/- ## ========================================== - Coverage 16.34% 16.23% -0.12% ========================================== Files 293 289 -4 Lines 20973 20586 -387 ========================================== - Hits 3429 3343 -86 + Misses 17544 17243 -301 ```

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