You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
147
-
The structure of such a `graph` object in this state is immutable and cannot be changed, so are the tasks assigned with each node.
150
+
A `command_graph` object in `graph_state::executable` represents a user generated device and context specific execution object that is submitted to a queue for execution.
151
+
The structure of such a `command_graph` object in this state is immutable and cannot be changed, so are the tasks assigned with each node.
148
152
Support of submitting a graph for execution, before a previous execution has been completed is backend specific. The runtime may throw an error.
149
153
150
154
=== Graph member and helper functions
151
155
152
-
Table 3. Constructor of the `graph` class.
156
+
Table 3. Constructor of the `command_graph` class.
153
157
[cols="2a,a"]
154
158
|===
155
159
|Constructor|Description
@@ -158,13 +162,13 @@ Table 3. Constructor of the `graph` class.
158
162
[source,c++]
159
163
----
160
164
/* available only when graph_state == modifiable */`
161
-
graph();
165
+
command_graph();
162
166
----
163
-
|Creates a `graph` object.
167
+
|Creates a `command_graph` object.
164
168
165
169
|===
166
170
167
-
Table 4. Member functions of the `graph` class.
171
+
Table 4. Member functions of the `command_graph` class.
168
172
[cols="2a,a"]
169
173
|===
170
174
|Member function|Description
@@ -188,7 +192,7 @@ template<typename T>
188
192
189
193
Memory that is allocated by the following functions is owned by the specific graph. When freed inside the graph, the memory is only accessible before the `free` node is executed and after the `malloc` node is executed.
190
194
191
-
Table 5. Member functions of the `graph` class (memory operations).
195
+
Table 5. Member functions of the `command_graph` class (memory operations).
0 commit comments