Skip to content

Conversation

@Bensuo
Copy link
Collaborator

@Bensuo Bensuo commented Aug 3, 2023

  • Add wording which restricts buffers created with host data in graphs.
  • Add a property which disables those checks.
  • Add wording which clarifies that we do not currently extend buffer lifetimes and restrict their use.
  • Add a property which disables restrictions and represents a promise from the user that buffer lifetimes will exceed the graph lifetime.

Addresses feedback from this comment: intel#10473 (comment) and implemented in #287

- Add wording which restricts buffers created with host data in graphs
- Add a property which disables those checks
@Bensuo Bensuo added the Graph Specification Extension Specification related label Aug 3, 2023
@Bensuo Bensuo marked this pull request as draft August 3, 2023 14:25
- Add new property for allowing buffers with a lifetime promise
- Rework buffer limitations wording for this and general improvement
@Bensuo Bensuo marked this pull request as ready for review August 3, 2023 15:48
- Add missing API modifications for properties
- Add punctuation
- Fix new property links
@Bensuo Bensuo force-pushed the ben/assume-data-outlives-buffer branch from 1c44d44 to cf9072c Compare August 4, 2023 16:32
Copy link
Owner

@reble reble left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@mfrancepillois mfrancepillois left a comment

Choose a reason for hiding this comment

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

LGTM.
BTW good job/improvement. It makes the buffer lifetime limitations much clearer and easier to use than before.

@EwanC EwanC merged commit b6c5c42 into pablo/promote-graph-spec Aug 9, 2023
@EwanC EwanC deleted the ben/assume-data-outlives-buffer branch August 9, 2023 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Graph Specification Extension Specification related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants