Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
May 7, 2023

Conversation

stotko
Copy link
Owner

@stotko stotko commented May 7, 2023

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.

@stotko stotko added the refactor label May 7, 2023
@stotko stotko added this to the 2.0.0 milestone May 7, 2023
@codecov
Copy link

codecov bot commented May 7, 2023

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
@@           Coverage Diff           @@
##           master     #361   +/-   ##
=======================================
  Coverage   97.23%   97.23%           
=======================================
  Files          31       31           
  Lines        2421     2421           
=======================================
  Hits         2354     2354           
  Misses         67       67           

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

@stotko stotko merged commit 32e0517 into master May 7, 2023
@stotko stotko deleted the error_refactor branch May 7, 2023 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant