Skip to content

[SYCL][Graph] Throw exception when explicit add called on a graph recording a queue #283

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

Merged

Conversation

mfrancepillois
Copy link
Collaborator

Factorizes the exception throwing method when the explicit API is used on a graph recording a queue Improves the test while_recording to test throwing an invalid exception for the two explicit graph:add entry points.

Addresses issue #271

…raph recording a queue

Factorizes the exception throwing method when the explicit API is used on a graph recording a queue
Improves the test while_recording to test throwing an invalid exception for the two explicit graph:add entry points.

Addresses issue #271
@mfrancepillois mfrancepillois added the Graph Implementation Related to DPC++ implementation and testing label Aug 1, 2023
@mfrancepillois mfrancepillois changed the title [SYCL][Graph] Throw invalid exception when explicit add called on a graph recording a queue [SYCL][Graph] Throw exception when explicit add called on a graph recording a queue Aug 1, 2023
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, just a couple of nits.

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, a couple of minor comments

mfrancepillois and others added 4 commits August 2, 2023 09:45
Co-authored-by: Ben Tracy <ben.tracy@codeplay.com>
Co-authored-by: Ben Tracy <ben.tracy@codeplay.com>
Co-authored-by: Ben Tracy <ben.tracy@codeplay.com>
Co-authored-by: Ewan Crawford <ewan@codeplay.com>
@mfrancepillois mfrancepillois merged commit 2457056 into sycl-graph-develop Aug 3, 2023
mfrancepillois added a commit that referenced this pull request Aug 3, 2023
…ording a queue (#283)

Factorizes the exception throwing method when the explicit API is used on a graph recording a queue
Improves the test while_recording to test throwing an invalid exception for the two explicit graph:add entry points.

Addresses issue #271

* Update sycl/source/detail/graph_impl.hpp

Co-authored-by: Ben Tracy <ben.tracy@codeplay.com>

* Update sycl/test-e2e/Graph/Explicit/while_recording.cpp

Co-authored-by: Ben Tracy <ben.tracy@codeplay.com>

* Update sycl/source/detail/graph_impl.hpp

Co-authored-by: Ewan Crawford <ewan@codeplay.com>

---------

Co-authored-by: Ben Tracy <ben.tracy@codeplay.com>
Co-authored-by: Ewan Crawford <ewan@codeplay.com>
@Bensuo Bensuo deleted the maxime/exception_add_while_recording branch August 7, 2023 16:29
EwanC added a commit that referenced this pull request Aug 10, 2023
…ording a queue (#283)

Factorizes the exception throwing method when the explicit API is used on a graph recording a queue
Improves the test while_recording to test throwing an invalid exception for the two explicit graph:add entry points.

Addresses issue #271

* Update sycl/source/detail/graph_impl.hpp

Co-authored-by: Ben Tracy <ben.tracy@codeplay.com>

* Update sycl/test-e2e/Graph/Explicit/while_recording.cpp

Co-authored-by: Ben Tracy <ben.tracy@codeplay.com>

* Update sycl/source/detail/graph_impl.hpp

Co-authored-by: Ewan Crawford <ewan@codeplay.com>

---------

Co-authored-by: Ben Tracy <ben.tracy@codeplay.com>
Co-authored-by: Ewan Crawford <ewan@codeplay.com>
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.

4 participants