-
Notifications
You must be signed in to change notification settings - Fork 4
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
[SYCL][Graph] Add exceptions for inconsistent contexst or devices on begin_recording #251
[SYCL][Graph] Add exceptions for inconsistent contexst or devices on begin_recording #251
Conversation
2da710c
to
1f724e0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM just a few comments.
sycl/test-e2e/Graph/RecordReplay/record_inconsistent_contexts.cpp
Outdated
Show resolved
Hide resolved
sycl/test-e2e/Graph/RecordReplay/record_inconsistent_contexts.cpp
Outdated
Show resolved
Hide resolved
sycl/test-e2e/Graph/RecordReplay/record_inconsistent_devices.cpp
Outdated
Show resolved
Hide resolved
sycl/test-e2e/Graph/RecordReplay/record_inconsistent_contexts.cpp
Outdated
Show resolved
Hide resolved
sycl/test-e2e/Graph/RecordReplay/record_inconsistent_contexts.cpp
Outdated
Show resolved
Hide resolved
sycl/test-e2e/Graph/RecordReplay/record_inconsistent_devices.cpp
Outdated
Show resolved
Hide resolved
sycl/test-e2e/Graph/RecordReplay/record_inconsistent_contexts.cpp
Outdated
Show resolved
Hide resolved
sycl/test-e2e/Graph/RecordReplay/record_inconsistent_devices.cpp
Outdated
Show resolved
Hide resolved
sycl/test-e2e/Graph/RecordReplay/record_inconsistent_devices.cpp
Outdated
Show resolved
Hide resolved
sycl/test-e2e/Graph/RecordReplay/record_inconsistent_devices.cpp
Outdated
Show resolved
Hide resolved
sycl/test-e2e/Graph/RecordReplay/record_inconsistent_devices.cpp
Outdated
Show resolved
Hide resolved
1f724e0
to
8e9d2a5
Compare
8e9d2a5
to
4b9388a
Compare
This test should also be updated https://github.com/reble/llvm/blob/sycl-graph-develop/sycl/unittests/Extensions/CommandGraph.cpp#L157 |
4b9388a
to
380ee3a
Compare
Verified locally on Windows that your fix works 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
380ee3a
to
05e3fb9
Compare
sycl/test-e2e/Graph/RecordReplay/exception_inconsistent_devices.cpp
Outdated
Show resolved
Hide resolved
… device on begin_recording Adds expection throwing if Graph and Queue contexts/devices differ when calling begin_recording. Adds tests to check for thrown exeptions.
05e3fb9
to
9441e73
Compare
Adds exception throwing if Graph and Queue contexts/devices differ when calling begin_recording.
Adds tests to check for thrown exceptions.