libocca / occa

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

Include original file name in the cached sources #700

Closed mkbosmans closed 1 year ago

mkbosmans commented 1 year ago

This aids debugging, e.g. in stack traces or when setting breakpoints.

noelchalmers commented 1 year ago

Big fan of this. Thanks for contributing!

codecov[bot] commented 1 year ago

Codecov Report

Merging #700 (15b3295) into development (1110c4c) will increase coverage by 0.00%. The diff coverage is 69.23%.

:exclamation: Current head 15b3295 differs from pull request most recent head 91273bc. Consider uploading reports for the commit 91273bc to get more accurate results

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/libocca/occa/pull/700/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/700?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libocca) ```diff @@ Coverage Diff @@ ## development #700 +/- ## ============================================ Coverage 76.24% 76.24% ============================================ Files 292 292 Lines 18816 18825 +9 ============================================ + Hits 14346 14354 +8 - Misses 4470 4471 +1 ``` | [Files Changed](https://app.codecov.io/gh/libocca/occa/pull/700?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/launchedDevice.cpp](https://app.codecov.io/gh/libocca/occa/pull/700?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libocca#diff-c3JjL29jY2EvaW50ZXJuYWwvY29yZS9sYXVuY2hlZERldmljZS5jcHA=) | `0.00% <0.00%> (ø)` | | | [src/occa/internal/io/utils.cpp](https://app.codecov.io/gh/libocca/occa/pull/700?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libocca#diff-c3JjL29jY2EvaW50ZXJuYWwvaW8vdXRpbHMuY3Bw) | `98.96% <100.00%> (+0.03%)` | :arrow_up: | | [src/occa/internal/modes/serial/device.cpp](https://app.codecov.io/gh/libocca/occa/pull/700?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libocca#diff-c3JjL29jY2EvaW50ZXJuYWwvbW9kZXMvc2VyaWFsL2RldmljZS5jcHA=) | `88.70% <100.00%> (ø)` | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/libocca/occa/pull/700/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libocca)