Skip to content

Conversation

@EwanC
Copy link
Collaborator

@EwanC EwanC commented Aug 21, 2023

Update the buffer example in the spec to respect the buffer restrictions we currently have:

  • Use lifetime properties in command_graph constructor
  • Use set_write_back(false) on buffers used in a graph, and use host accessors to check the result.
  • Make buffer lifetimes exceed the lifetimes of the graph object.

Addresses Lukas feedback on upstream PR intel#10473 (comment)

Update the buffer example in the spec to respect the
buffer restrictions we currently have.

* Use lifetime properties in constructor
* Use `set_write_back(false)` on buffers used, and use host accessors to
  check the result.
* Make buffer lifetimes exceed that of the graph object.

Addresses Lukas feedback on upstream PR
intel#10473 (comment)
@EwanC EwanC added Graph Specification Extension Specification related cherry-pick labels Aug 21, 2023
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

@EwanC EwanC merged commit aa502d5 into pablo/promote-graph-spec Aug 22, 2023
@EwanC EwanC deleted the ewan/update_spec_example branch August 22, 2023 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-pick Graph Specification Extension Specification related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants