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

src: Move backend-internal error handling into separate files #361

Closed stotko closed 1 year ago

stotko commented 1 year ago

The internal error handling in the CUDA and HIP backends was previously an internal detail of the memory backend implementation. However, this functionality is also required in the device implementations and currently causes a compiler warning in the HIP backend due to an unhandled return variable. Move the error handling code to a dedicated backend-specific file and use it in both the memory and the device modules.

codecov[bot] commented 1 year ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (bc3adae) 97.23% compared to head (425b7de) 97.23%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #361 +/- ## ======================================= Coverage 97.23% 97.23% ======================================= Files 31 31 Lines 2421 2421 ======================================= Hits 2354 2354 Misses 67 67 ```

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