Ensure cuda-compiled code passes tests#255
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #255 +/- ##
=======================================
Coverage 90.03% 90.04%
=======================================
Files 79 79
Lines 8713 8721 +8
=======================================
+ Hits 7845 7853 +8
Misses 868 868 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Eventually it would be good to switch the default. However if we want to print debugging info it is useful to be able to get a host Vector. For now the main reason for adding it is so that we can test things that are fully ported without waiting for everything to be ported (e.g. see #254) |
It is also necessary for testing. Google test only works on CPU so we need to be able to get a host Vector to call |
Ensure Kokkos execution space matches the memory space where the data being accessed is stored. This ensures the cuda-compiled version passes the tests. Currently on main it fails because loops are on GPU but access CPU data
Merge Request - GuideLine Checklist
Guideline to check code before resolve WIP and approval, respectively.
As many checkboxes as possible should be ticked.
Checks by code author:
Always to be checked:
If functions were changed or functionality was added:
If new functionality was added:
If new third party software is used:
If new mathematical methods or epidemiological terms are used:
Checks by code reviewer(s):