stotko / stdgpu

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

bitset: Fix ignored annotation warning for defaulted copy constructor #349

Closed stotko closed 1 year ago

stotko commented 1 year ago

NVCC ignores host and device annotation on defaulted functions. While this has been properly handled for default constructors, a respective warning for the copy constructor of bitset::reference is only thrown on Windows with the CUDA backend. Thus, remove the offending annotation to silence the warning.

codecov[bot] commented 1 year ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (8edb9e4) 97.14% compared to head (02d620a) 97.14%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #349 +/- ## ======================================= Coverage 97.14% 97.14% ======================================= Files 32 32 Lines 2346 2346 ======================================= Hits 2279 2279 Misses 67 67 ``` | [Impacted Files](https://codecov.io/gh/stotko/stdgpu/pull/349?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://codecov.io/gh/stotko/stdgpu/pull/349?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% <ø> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Patrick+Stotko). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Patrick+Stotko)

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