Skip to content

Conversation

@pxl-th
Copy link
Member

@pxl-th pxl-th commented Apr 10, 2023

No description provided.

@codecov
Copy link

codecov bot commented Apr 10, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.03 ⚠️

Comparison is base (17a33d9) 88.90% compared to head (0ce8a84) 88.88%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #381      +/-   ##
==========================================
- Coverage   88.90%   88.88%   -0.03%     
==========================================
  Files           8        8              
  Lines         541      540       -1     
==========================================
- Hits          481      480       -1     
  Misses         60       60              
Impacted Files Coverage Δ
src/KernelAbstractions.jl 83.78% <ø> (+0.45%) ⬆️
src/cpu.jl 82.35% <0.00%> (-0.99%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

@pxl-th pxl-th requested a review from vchuravy April 10, 2023 13:17
when an array goes out of scope, but can be called
earlier to reduce pressure on the memory allocator.
On CPU backend this is a no-op.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe reword this without the reference to the finalizer, since this method in particular will not be used.

Note that implementing it is optional (not only on the CPU) and what the contract is for the user.

@pxl-th pxl-th force-pushed the pxl-th/unsafe-free branch from 8aa7fd5 to c849af3 Compare April 10, 2023 20:48
@pxl-th pxl-th force-pushed the pxl-th/unsafe-free branch from c849af3 to 0ce8a84 Compare April 10, 2023 21:12
@pxl-th pxl-th merged commit 501beee into main Apr 11, 2023
@pxl-th pxl-th deleted the pxl-th/unsafe-free branch April 11, 2023 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants