libocca / occa

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

Set SYCL subgroup size via kernel property or `@simd_length` attribute. #726

Closed kris-rowe closed 6 months ago

kris-rowe commented 7 months ago

Description

Closes #693

codecov[bot] commented 7 months ago

Codecov Report

Merging #726 (996bd56) into development (8957558) will decrease coverage by 0.05%. The diff coverage is 70.42%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/libocca/occa/pull/726/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/726?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libocca) ```diff @@ Coverage Diff @@ ## development #726 +/- ## =============================================== - Coverage 75.26% 75.22% -0.05% =============================================== Files 297 299 +2 Lines 19327 19387 +60 =============================================== + Hits 14546 14583 +37 - Misses 4781 4804 +23 ``` | [Files](https://app.codecov.io/gh/libocca/occa/pull/726?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libocca) | Coverage Δ | | |---|---|---| | [src/occa/internal/lang/attribute.cpp](https://app.codecov.io/gh/libocca/occa/pull/726?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libocca#diff-c3JjL29jY2EvaW50ZXJuYWwvbGFuZy9hdHRyaWJ1dGUuY3Bw) | `69.82% <100.00%> (+0.80%)` | :arrow_up: | | [...a/internal/lang/builtins/attributes/simdLength.hpp](https://app.codecov.io/gh/libocca/occa/pull/726?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libocca#diff-c3JjL29jY2EvaW50ZXJuYWwvbGFuZy9idWlsdGlucy9hdHRyaWJ1dGVzL3NpbWRMZW5ndGguaHBw) | `100.00% <100.00%> (ø)` | | | [src/occa/internal/lang/modes/dpcpp.hpp](https://app.codecov.io/gh/libocca/occa/pull/726?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libocca#diff-c3JjL29jY2EvaW50ZXJuYWwvbGFuZy9tb2Rlcy9kcGNwcC5ocHA=) | `100.00% <ø> (ø)` | | | [src/occa/internal/lang/modes/okl.cpp](https://app.codecov.io/gh/libocca/occa/pull/726?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libocca#diff-c3JjL29jY2EvaW50ZXJuYWwvbGFuZy9tb2Rlcy9va2wuY3Bw) | `93.67% <100.00%> (+0.03%)` | :arrow_up: | | [src/occa/internal/lang/modes/withLauncher.cpp](https://app.codecov.io/gh/libocca/occa/pull/726?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libocca#diff-c3JjL29jY2EvaW50ZXJuYWwvbGFuZy9tb2Rlcy93aXRoTGF1bmNoZXIuY3Bw) | `94.24% <100.00%> (+0.03%)` | :arrow_up: | | [...a/internal/lang/builtins/attributes/simdLength.cpp](https://app.codecov.io/gh/libocca/occa/pull/726?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libocca#diff-c3JjL29jY2EvaW50ZXJuYWwvbGFuZy9idWlsdGlucy9hdHRyaWJ1dGVzL3NpbWRMZW5ndGguY3Bw) | `50.00% <50.00%> (ø)` | | | [src/occa/internal/lang/modes/dpcpp.cpp](https://app.codecov.io/gh/libocca/occa/pull/726?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libocca#diff-c3JjL29jY2EvaW50ZXJuYWwvbGFuZy9tb2Rlcy9kcGNwcC5jcHA=) | `80.42% <75.00%> (-2.48%)` | :arrow_down: | ... and [2 files with indirect coverage changes](https://app.codecov.io/gh/libocca/occa/pull/726/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libocca)