Skip to content

Commit 719e3ec

Browse files
committed
fix typos and syntax issues
1 parent da316f5 commit 719e3ec

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

sycl/doc/extensions/experimental/SYCL_EXT_ONEAPI_GRAPH.asciidoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ NOTE: This extension is experimental: interfaces are subject to change later.
3838
== Introduction
3939

4040
This extension introduces an interface that enables a lazy execution and easy replay of a kernel graph by separating
41-
Its definition and execution.
41+
its definition and execution.
4242

4343
== Feature test macro
4444

@@ -64,7 +64,7 @@ Table 2. Terminology.
6464
|Concept|Description
6565
|graph| Class that stores structured work units and their dependencies
6666
|node| The unit of work. Can have different attributes.
67-
|edge| Dependency between work units. Happens before relation.
67+
|edge| Dependency between work units. Happens-before relation.
6868
|===
6969

7070
== Node
@@ -85,7 +85,7 @@ NOTE:
8585

8686
== Edge
8787

88-
A dependency between two nodes representing a happens before relationship. `sender` and `receiver` may be associated to different graphs.
88+
A dependency between two nodes representing a happens-before relationship. `sender` and `receiver` may be associated to different graphs.
8989

9090
[source,c++]
9191
----
@@ -119,7 +119,7 @@ namespace sycl::ext::oneapi::experimental {
119119
120120
graph<graph_state::modifiable> make_graph();
121121
122-
graph<graph_state::modifiable> compile(const graph<graph_state::executable> Graph);
122+
graph<graph_state::executable> compile(const graph<graph_state::modifiable> Graph);
123123
124124
}
125125
@@ -130,7 +130,7 @@ sycl::event sycl::queue(const graph<graph_state::executable> Graph);
130130
=== Executable Graph
131131

132132
A `graph` object in `graph_state::executable` represents a user generated device and context specific execution object that is submitted to a queue for execution.
133-
The structure of such a `graph` object in this state is immutable and can not be changed, so are the tasks assigned with each node.
133+
The structure of such a `graph` object in this state is immutable and cannot be changed, so are the tasks assigned with each node.
134134
Support of submitting a graph for execution, before a previous execution has been completed is backend specific. The runtime may throw an error.
135135

136136
Table 3. Constructor of the `graph` class.

0 commit comments

Comments
 (0)