Skip to content
This repository was archived by the owner on Mar 2, 2026. It is now read-only.

[SYCL][Graph] Revise undefined behaviour with no_cycle_check#263

Merged
Bensuo merged 1 commit intosycl-graph-updatefrom
ben/cycle-check-undefined
Jul 14, 2023
Merged

[SYCL][Graph] Revise undefined behaviour with no_cycle_check#263
Bensuo merged 1 commit intosycl-graph-updatefrom
ben/cycle-check-undefined

Conversation

@Bensuo
Copy link
Collaborator

@Bensuo Bensuo commented Jul 13, 2023

  • Change wording around undefined behaviour when creating a cycle with no checks
  • UB is created at point of adding the cycle, not at finalize.

Without this change we would need to specially handle cycles being added when checks are disabled to keep the graph in a reasonable state for future operations.

- Change wording around undefined behaviour when creating a cycle with no checks
- UB is created at point of adding the cycle, not at finalize.
@Bensuo Bensuo added the Graph Specification Extension Specification related label Jul 13, 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

@Bensuo Bensuo merged commit b03b6ad into sycl-graph-update Jul 14, 2023
@Bensuo Bensuo deleted the ben/cycle-check-undefined branch July 14, 2023 18:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Graph Specification Extension Specification related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants