-
Notifications
You must be signed in to change notification settings - Fork 3
[SYCL][Graph] Throw exception when creating graph for unsupported backend #280
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] Throw exception when creating graph for unsupported backend #280
Conversation
…kend Checks backend when creating graphs and throws an exception is the backend is not supported. Adds an e2e test to verify this exception throwing. Adapts Unitests to pass through the backend exception even if backends are not available for Unitests by forcing emulation mode.
Co-authored-by: Pablo Reble <[email protected]>
Co-authored-by: Pablo Reble <[email protected]>
…kend Corrects clang format + typo
julianmi
left a comment
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. I have only minor comments.
Co-authored-by: Julian Miller <[email protected]>
EwanC
left a comment
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
…kend Adds function helper to force emulated backend in Unitests. Updates some comments
reble
left a comment
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
…kend Improves mock usage in Unitest to avoid having to force emulation mode
Bensuo
left a comment
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!
…kend (#280) * [SYCL][Graph] Throw exception when creating graph for unsupported backend - Checks backend when creating graphs and throws an exception is the backend is not supported. - Adds an e2e test to verify this exception throwing. - Updates some comments - Improves mock usage in Unitest to avoid having to force emulation mode --------- Co-authored-by: Pablo Reble <[email protected]> Co-authored-by: Julian Miller <[email protected]>
…kend (#280) * [SYCL][Graph] Throw exception when creating graph for unsupported backend - Checks backend when creating graphs and throws an exception is the backend is not supported. - Adds an e2e test to verify this exception throwing. - Updates some comments - Improves mock usage in Unitest to avoid having to force emulation mode --------- Co-authored-by: Pablo Reble <[email protected]> Co-authored-by: Julian Miller <[email protected]>
Checks backend when creating graphs and
throws an exception is the backend is not supported. Adds an e2e test to verify this exception throwing. Adapts Unitests to pass through the backend exception even if backends are not available for Unitests
by forcing emulation mode.