Skip to content

Commit

Permalink
Remove queries from this PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Bensuo committed Dec 21, 2023
1 parent 358412c commit 6406b2a
Showing 1 changed file with 1 addition and 79 deletions.
80 changes: 1 addition & 79 deletions sycl/doc/extensions/experimental/sycl_ext_oneapi_graph.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -313,19 +313,6 @@ enum class graph_support_level {
emulated
};
enum class node_type {
empty,
subgraph,
kernel,
memcpy,
memset,
memfill,
prefetch,
memadvise,
ext_oneapi_barrier,
host_task,
};
namespace property {
namespace graph {
Expand Down Expand Up @@ -452,18 +439,7 @@ public:
const std::string& get_label() const;
};
class node {
public:
node() = delete;
node_type get_type() const;
std::vector<node> get_predecessors() const;
std::vector<node> get_successors() const;
static node get_node_from_event(event nodeEvent);
};
class node {};
// State of a graph
enum class graph_state {
Expand Down Expand Up @@ -499,9 +475,6 @@ public:
void make_edge(node& src, node& dest);
void print_graph(std::string path, bool verbose = false) const;
std::vector<node> get_nodes() const;
std::vector<node> get_root_nodes() const;
};
template<>
Expand Down Expand Up @@ -996,57 +969,6 @@ Exceptions:

|===

==== Node Member Functions

Table {counter: tableNumber}. Member functions of the `node` class.
[cols="2a,a"]
|===
|Member Function|Description

|
[source,c++]
----
node_type get_type() const;
----
|Returns a value representing the type of command this node represents.

|
[source,c++]
----
std::vector<node> get_predecessors() const;
----
|Returns a list of the predecessor nodes which this node depends on.

|
[source,c++]
----
std::vector<node> get_successors() const;
----
|Returns a list of the successor nodes which depend on this node.

|
[source,c++]
----
static node get_node_from_event(event nodeEvent);
----
|Finds the node associated with an event created from a submission to a queue
in the recording state.

Parameters:

* `nodeEvent` - Event returned from a submission to a queue in the recording
state.

Returns: Graph node that was created when the command that returned
`nodeEvent` was submitted.

Exceptions:

* Throws with error code `invalid` if `nodeEvent` is not associated with a
graph node.

|===

==== Depends-On Property

The API for explicitly adding nodes to a `command_graph` includes a
Expand Down

0 comments on commit 6406b2a

Please sign in to comment.