Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verify correct behaviour when adding empty nodes recorded from an in-order queue #239

Closed
EwanC opened this issue Jun 26, 2023 · 0 comments
Closed
Labels
bug Something isn't working Graph Implementation Related to DPC++ implementation and testing

Comments

@EwanC
Copy link
Collaborator

EwanC commented Jun 26, 2023

We have tests for using empty nodes and in-order queues separately with record & replay graph construction, but don't test that both work together. We should add a test to verify this and fix any bugs that are required for it to pass.

See #237 (comment) for motivation

Existing in-order tests:

  • sycl/test-e2e/Graph/RecordReplay/dotp_in_order.cpp
  • sycl/test-e2e/Graph/RecordReplay/subgraph_in_order.cpp
  • sycl/test-e2e/Graph/RecordReplay/usm_copy_in_order.cpp

Existing empty node tests:

  • sycl/test-e2e/Graph/RecordReplay/empty.cpp
  • /sycl/test-e2e/Graph/RecordReplay/empty_node_with_dep.cpp
@EwanC EwanC added bug Something isn't working Graph Implementation Related to DPC++ implementation and testing labels Jun 26, 2023
mfrancepillois added a commit that referenced this issue Jul 5, 2023
Adding a empty node to a recorded in-order queue resulted
in inconsistent dependencies between nodes.
This patch fixes this issues and simplifies the adding of empty nodes.
Unitests have been added to check node dependencies when
recording an in_order queue with and without empty nodes.

Fixes Issue: #239
mfrancepillois added a commit that referenced this issue Jul 5, 2023
Adding a empty node to a recorded in-order queue resulted
in inconsistent dependencies between nodes.
This patch fixes this issues and simplifies the adding of empty nodes.
Unitests have been added to check node dependencies when
recording an in_order queue with and without empty nodes.

Fixes Issue: #239
@EwanC EwanC closed this as completed Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Graph Implementation Related to DPC++ implementation and testing
Projects
None yet
Development

No branches or pull requests

1 participant