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

Pass a device to graph constructor #113

Merged
merged 1 commit into from
Mar 30, 2023
Merged

Conversation

EwanC
Copy link
Collaborator

@EwanC EwanC commented Mar 28, 2023

Based on feedback from the Working Group it is clearer to represent the current single device characteristic of a graph by passing a device to the graph constructor that all nodes will target. Then remove the syclDevice parameter from the explicit API, as due to experimental nature of the extension it can be added in a future revision if needed.

A diff of these changes against the commit prior to when the original multi-device PR went in can be seen here

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

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.

Based on feedback from the Working Group it is
clearer to represent the current single device characteristic
of a graph by passing a device to the graph constructor that all
nodes will target. Then remove the `device` parameter from the
explicit API, as it can be added as an overload in a future revision
due to experimental nature of the extension

A diff of these changes against the commit prior to when the [original
multi-device PR](#83) went in
can be seen
[here](28acfa8...reble:llvm:ewan/single_device)
@EwanC EwanC merged commit c7a689b into sycl-graph-update Mar 30, 2023
@Bensuo Bensuo deleted the ewan/single_device branch August 7, 2023 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Graph Specification Extension Specification related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants