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

memory: Remove obsolete uninitialized memory functions #365

Closed stotko closed 1 year ago

stotko commented 1 year ago

Now that all containers use the allocator_traits API, the previous {create,destroy}{Device,Host,Managed}Array functions as part of the internal helper functions are no longer used. Furthermore, they all redundantly map to the same functions. Thus, remove them altogether to clean up the implementation of the memory module.

codecov[bot] commented 1 year ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (b824d9f) 97.29% compared to head (9f1d532) 97.29%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #365 +/- ## ======================================= Coverage 97.29% 97.29% ======================================= Files 31 31 Lines 2480 2480 ======================================= Hits 2413 2413 Misses 67 67 ``` | [Impacted Files](https://app.codecov.io/gh/stotko/stdgpu/pull/365?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Patrick+Stotko) | Coverage Δ | | |---|---|---| | [src/stdgpu/impl/memory\_detail.h](https://app.codecov.io/gh/stotko/stdgpu/pull/365?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Patrick+Stotko#diff-c3JjL3N0ZGdwdS9pbXBsL21lbW9yeV9kZXRhaWwuaA==) | `99.11% <ø> (ø)` | |

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