mrc-ide / odin.dust

Compile odin to dust
https://mrc-ide.github.io/odin.dust
Other
3 stars 1 forks source link

Generate code for models on gpu #64

Closed richfitz closed 3 years ago

richfitz commented 3 years ago

Uses the support introduced in https://github.com/mrc-ide/dust/pull/164 which is incomplete. This PR lets us generate fairly complicated update functions (theoretically that of sircovid?) which will make further development of the gpu code much easier.

Changes are relatively minor here:

It's not enabled by default, and not enabled at all in packages; that will give us freedom to tinker with the toolchain in dust

codecov[bot] commented 3 years ago

Codecov Report

Merging #64 (2a49a20) into master (c596ba0) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #64   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            6         6           
  Lines          693       770   +77     
=========================================
+ Hits           693       770   +77     
Impacted Files Coverage Δ
R/generate_dust.R 100.00% <100.00%> (ø)
R/generate_dust_equation.R 100.00% <100.00%> (ø)
R/generate_dust_sexp.R 100.00% <100.00%> (ø)
R/odin_dust.R 100.00% <100.00%> (ø)
R/utils.R 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c596ba0...2fec91c. Read the comment docs.