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

Upgrade to async CUDA memory transfers and kernel launches #230

Closed juntyr closed 5 months ago

juntyr commented 1 year ago

Two years after having the idea (just a few months after the start of the project and with a codebase that generates tears of nostalgia), here is the start of the implementation.

Based off of and blocked on #79

codecov-commenter commented 1 year ago

Codecov Report

Merging #230 (a29bdd3) into main (d3135ab) will decrease coverage by 0.75%. The diff coverage is 6.46%.

:exclamation: Current head a29bdd3 differs from pull request most recent head 7b6b5b7. Consider uploading reports for the commit 7b6b5b7 to get more accurate results

@@            Coverage Diff             @@
##             main     #230      +/-   ##
==========================================
- Coverage   15.16%   14.41%   -0.76%     
==========================================
  Files         315      329      +14     
  Lines       21439    23176    +1737     
==========================================
+ Hits         3252     3341      +89     
- Misses      18187    19835    +1648     
Impacted Files Coverage Δ
necsim/core/bond/src/closed_open_unit_f64.rs 15.38% <0.00%> (+5.70%) :arrow_up:
necsim/core/bond/src/open_closed_unit_f64.rs 0.00% <0.00%> (ø)
necsim/core/src/cogs/active_lineage_sampler.rs 0.00% <ø> (ø)
necsim/core/src/cogs/coalescence_sampler.rs 0.00% <0.00%> (ø)
necsim/core/src/cogs/dispersal_sampler.rs 0.00% <ø> (ø)
necsim/core/src/cogs/emigration_exit.rs 0.00% <ø> (ø)
necsim/core/src/cogs/event_sampler.rs 0.00% <ø> (ø)
necsim/core/src/cogs/habitat.rs 46.66% <ø> (ø)
necsim/core/src/cogs/immigration_entry.rs 0.00% <ø> (ø)
necsim/core/src/cogs/lineage_store.rs 0.00% <ø> (ø)
... and 176 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

github-actions[bot] commented 1 year ago

Rebase of head ref async-cuda on base ref main failed. Conflicts must be resolved manually.

github-actions[bot] commented 1 year ago

Rebase of head ref async-cuda on base ref main failed. Conflicts must be resolved manually.

github-actions[bot] commented 1 year ago

Rebase of head ref async-cuda on base ref main failed. Conflicts must be resolved manually.

github-actions[bot] commented 1 year ago

Rebase of head ref async-cuda on base ref main failed. Conflicts must be resolved manually.

github-actions[bot] commented 1 year ago

Rebase of head ref async-cuda on base ref main failed. Conflicts must be resolved manually.

github-actions[bot] commented 1 year ago

Rebase of head ref async-cuda on base ref main failed. Conflicts must be resolved manually.

juntyr commented 5 months ago

Closed in favour of #276.

Archived on the async-cuda-with-sort-archived branch, since this PR contains additional exploration of pipelining simulation kernel execution with event sorting (both on the CPU and GPU).