Skip to content

Conversation

@stotko
Copy link
Owner

@stotko stotko commented Jun 1, 2022

The sort and count_if functions are only used in the unit tests and are already surrounded by code where both a device and host version of the involved data arrays are allocated. Port away from both of these functions by utilizing the host versions instead.

Partially addresses #279

@stotko stotko added the refactor label Jun 1, 2022
@stotko stotko added this to the 2.0.0 milestone Jun 1, 2022
@stotko stotko force-pushed the test_sort_count_if branch from dc4057c to a449957 Compare June 1, 2022 17:59
@codecov
Copy link

codecov bot commented Jun 1, 2022

Codecov Report

Merging #292 (a449957) into master (ff806c6) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #292      +/-   ##
==========================================
- Coverage   97.45%   97.44%   -0.01%     
==========================================
  Files          31       31              
  Lines        2276     2272       -4     
==========================================
- Hits         2218     2214       -4     
  Misses         58       58              
Impacted Files Coverage Δ
src/stdgpu/impl/iterator_detail.h 94.93% <0.00%> (-0.25%) ⬇️

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 ff806c6...a449957. Read the comment docs.

@stotko stotko merged commit 6e87b3c into master Jun 1, 2022
@stotko stotko deleted the test_sort_count_if branch June 1, 2022 18:17
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