Skip to content

Commit

Permalink
Rename node parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Bensuo committed May 21, 2024
1 parent 13af31e commit 3ca2111
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions sycl/doc/extensions/experimental/sycl_ext_oneapi_graph.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ public:
void update(node& node);
void update(const std::vector<node>& nodes);
event get_event(const node& n);
event get_event(const node& node);
};
} // namespace sycl::ext::oneapi::experimental
Expand Down Expand Up @@ -1119,11 +1119,11 @@ std::vector<node> get_root_nodes() const;
|
[source,c++]
----
event get_event(const node& n);
event get_event(const node& node);
----
|Returns a SYCL event which represents the completion of node `n` which is valid
only for the next execution of the graph. This event can be used as a dependency
in the same way as normal SYCL events.
|Returns a SYCL event which represents the completion of node `node` which is
valid only for the next execution of the graph. This event can be used as a
dependency in the same way as normal SYCL events.

Constraints:

Expand All @@ -1132,12 +1132,12 @@ Constraints:

Parameters:

* `n` - The node to get the associated event for.
* `node` - The node to get the associated event for.

Exceptions:

* Throws synchronously with error code `invalid` if `n` is not a node within the
graph.
* Throws synchronously with error code `invalid` if `node` is not a node within
the graph.

|===

Expand Down

0 comments on commit 3ca2111

Please sign in to comment.