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

memory: Add construct_at function #95

Merged
merged 1 commit into from Feb 9, 2020
Merged

memory: Add construct_at function #95

merged 1 commit into from Feb 9, 2020

Conversation

stotko
Copy link
Owner

@stotko stotko commented Feb 9, 2020

Similar to destroy_at which got introduced in C++17, we are now getting a construct_at function in C++20. Add a respective GPU-callable version of construct_at to simplify the implementation of related classes in the memory module and extend the support of the latter.

@stotko stotko added this to the 1.3.0 milestone Feb 9, 2020
@codecov
Copy link

codecov bot commented Feb 9, 2020

Codecov Report

Merging #95 into master will increase coverage by 0.06%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #95      +/-   ##
==========================================
+ Coverage   97.76%   97.83%   +0.06%     
==========================================
  Files          27       27              
  Lines        1611     1613       +2     
==========================================
+ Hits         1575     1578       +3     
+ Misses         36       35       -1
Impacted Files Coverage Δ
src/stdgpu/impl/memory_detail.h 98.64% <100%> (+0.01%) ⬆️
src/stdgpu/impl/unordered_base_detail.cuh 96.7% <0%> (+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 be76da9...0981c7c. Read the comment docs.

@stotko stotko merged commit 35d7ae3 into master Feb 9, 2020
@stotko stotko deleted the memory_construct_at branch February 9, 2020 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant