Skip to content

init_tracker has now a discard function to get single data points back to uninitialized#2081

Merged
kvark merged 2 commits intogfx-rs:masterfrom
Wumpf:init-tracker/discard
Oct 16, 2021
Merged

init_tracker has now a discard function to get single data points back to uninitialized#2081
kvark merged 2 commits intogfx-rs:masterfrom
Wumpf:init-tracker/discard

Conversation

@Wumpf
Copy link
Copy Markdown
Member

@Wumpf Wumpf commented Oct 16, 2021

Connections
Yet another split out of the zero_init (#1688) work
This is how this is going to be used:
cc747bc#diff-1fe34f06c0c0bd67a41a9cb8aa26cae0a2a4b58028ce5e064abb6f8ad23b84cfR264

Description
also:

  • use new standardized partition_point function instead of manual impl
  • remove comment about possible DiscardMemory state, as this is going to be handled differently

Testing
unit testing added

…ack to uninitialized

use new standardized partition_point function
@kvark
Copy link
Copy Markdown
Member

kvark commented Oct 16, 2021

CI is not happy about the new function

@kvark kvark enabled auto-merge (squash) October 16, 2021 18:05
@kvark kvark merged commit 4af1c31 into gfx-rs:master Oct 16, 2021
@Wumpf Wumpf deleted the init-tracker/discard branch October 19, 2021 19:05
@Wumpf Wumpf mentioned this pull request Oct 24, 2021
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.

2 participants