Skip to content

Conversation

@mfrancepillois
Copy link
Collaborator

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.

…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.
@mfrancepillois mfrancepillois added the Graph Implementation Related to DPC++ implementation and testing label Jul 31, 2023
@reble reble changed the title [SYCL][Graph] Throw exception when creating graph for unsupported bakend [SYCL][Graph] Throw exception when creating graph for unsupported backend Jul 31, 2023
Maxime France-Pillois and others added 2 commits August 1, 2023 09:23
@mfrancepillois mfrancepillois requested a review from reble August 1, 2023 08:58
Copy link
Collaborator

@julianmi julianmi left a 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.

Copy link
Collaborator

@EwanC EwanC left a 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
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

…kend

Improves mock usage in Unitest to avoid having to force emulation mode
Copy link
Collaborator

@Bensuo Bensuo 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 edeac7c into sycl-graph-develop Aug 7, 2023
mfrancepillois pushed a commit that referenced this pull request Aug 9, 2023
…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]>
EwanC pushed a commit that referenced this pull request Aug 10, 2023
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-pick Graph Implementation Related to DPC++ implementation and testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants