libocca / occa

Portable and vendor neutral framework for parallel programming on heterogeneous platforms.
https://libocca.org
MIT License
382 stars 81 forks source link

Fixes corruption of memory datatypes caused by short circuit logic in `modeMemory_t::slice` #727

Closed kris-rowe closed 7 months ago

kris-rowe commented 7 months ago

Closes #690

codecov[bot] commented 7 months ago

Codecov Report

Merging #727 (8a7f0be) into development (3612b5d) will increase coverage by 0.00%. The diff coverage is n/a.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/libocca/occa/pull/727/graphs/tree.svg?width=650&height=150&src=pr&token=doaG4c84wZ&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libocca)](https://app.codecov.io/gh/libocca/occa/pull/727?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libocca) ```diff @@ Coverage Diff @@ ## development #727 +/- ## ============================================ Coverage 75.25% 75.25% ============================================ Files 297 297 Lines 19327 19328 +1 ============================================ + Hits 14544 14545 +1 Misses 4783 4783 ``` | [Files](https://app.codecov.io/gh/libocca/occa/pull/727?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libocca) | Coverage Δ | | |---|---|---| | [src/occa/internal/core/memory.cpp](https://app.codecov.io/gh/libocca/occa/pull/727?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libocca#diff-c3JjL29jY2EvaW50ZXJuYWwvY29yZS9tZW1vcnkuY3Bw) | `100.00% <ø> (ø)` | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/libocca/occa/pull/727/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libocca)