stotko / stdgpu

stdgpu: Efficient STL-like Data Structures on the GPU
https://stotko.github.io/stdgpu/
Apache License 2.0
1.16k stars 83 forks source link

bitset: Add support for custom execution policies #370

Closed stotko closed 1 year ago

stotko commented 1 year ago

Whereas the containers operate in a sequential order and, hence, do not need custom execution policies, this lack of support becomes problematic for our GPU counterparts where aspects like controlling kernel synchronization play an important role. Add support for custom execution policies to all host functions of bitset running GPU kernels to allow greater control by the user.

Partially addresses #351

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.01 :tada:

Comparison is base (b5e8b78) 97.27% compared to head (8e75362) 97.29%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #370 +/- ## ========================================== + Coverage 97.27% 97.29% +0.01% ========================================== Files 31 31 Lines 2456 2473 +17 ========================================== + Hits 2389 2406 +17 Misses 67 67 ``` | [Impacted Files](https://app.codecov.io/gh/stotko/stdgpu/pull/370?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Patrick+Stotko) | Coverage Δ | | |---|---|---| | [src/stdgpu/bitset.cuh](https://app.codecov.io/gh/stotko/stdgpu/pull/370?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Patrick+Stotko#diff-c3JjL3N0ZGdwdS9iaXRzZXQuY3Vo) | `100.00% <ø> (ø)` | | | [src/stdgpu/impl/bitset\_detail.cuh](https://app.codecov.io/gh/stotko/stdgpu/pull/370?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Patrick+Stotko#diff-c3JjL3N0ZGdwdS9pbXBsL2JpdHNldF9kZXRhaWwuY3Vo) | `99.34% <100.00%> (+0.08%)` | :arrow_up: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.