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

examples: Pass containers by reference for OpenMP backend #182

Merged
merged 1 commit into from
May 31, 2020

Conversation

stotko
Copy link
Owner

@stotko stotko commented May 31, 2020

In the new examples, the containers are passed by value, even in the ones for the OpenMP backend. While this is required for the CUDA and HIP backends, pass-by-reference should still be preferred for the OpenMP backend. Fix this these minor issues detected by Coverity Scan.

@stotko stotko added the bug label May 31, 2020
@stotko stotko added this to the 1.3.0 milestone May 31, 2020
@stotko stotko changed the title examples: Pass containers by refernece for OpenMP backend examples: Pass containers by reference for OpenMP backend May 31, 2020
@codecov
Copy link

codecov bot commented May 31, 2020

Codecov Report

Merging #182 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #182   +/-   ##
=======================================
  Coverage   97.81%   97.81%           
=======================================
  Files          28       28           
  Lines        1833     1833           
=======================================
  Hits         1793     1793           
  Misses         40       40           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 76c4523...7981763. Read the comment docs.

@stotko stotko merged commit 32e88f0 into master May 31, 2020
@stotko stotko deleted the examples_reference branch May 31, 2020 14:07
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