stotko / stdgpu

stdgpu: Efficient STL-like Data Structures on the GPU
https://stotko.github.io/stdgpu/
Apache License 2.0
1.16k stars 83 forks source link

test: Port away from random header #293

Closed stotko closed 2 years ago

stotko commented 2 years ago

The unit test of unordered_map and unordered_set use the thrust versions of the <random> header to generate a set of key values. Port away to the host version provided by the C++ standard library which are also already used in the unit test.

Partially addresses #279

codecov[bot] commented 2 years ago

Codecov Report

Merging #293 (2ce0a89) into master (6e87b3c) will decrease coverage by 0.13%. The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #293      +/-   ##
==========================================
- Coverage   97.57%   97.44%   -0.14%     
==========================================
  Files          31       31              
  Lines        2272     2272              
==========================================
- Hits         2217     2214       -3     
- Misses         55       58       +3     
Impacted Files Coverage Δ
src/stdgpu/impl/deque_detail.cuh 94.39% <0.00%> (-1.41%) :arrow_down:

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 6e87b3c...2ce0a89. Read the comment docs.