From 6406b2a39dd7fc95c4939a50d4428eea90050a3e Mon Sep 17 00:00:00 2001 From: Ben Tracy Date: Thu, 21 Dec 2023 12:35:56 +0000 Subject: [PATCH] Remove queries from this PR --- .../sycl_ext_oneapi_graph.asciidoc | 80 +------------------ 1 file changed, 1 insertion(+), 79 deletions(-) diff --git a/sycl/doc/extensions/experimental/sycl_ext_oneapi_graph.asciidoc b/sycl/doc/extensions/experimental/sycl_ext_oneapi_graph.asciidoc index 5802a438ab332..9464b8369be66 100644 --- a/sycl/doc/extensions/experimental/sycl_ext_oneapi_graph.asciidoc +++ b/sycl/doc/extensions/experimental/sycl_ext_oneapi_graph.asciidoc @@ -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 { @@ -452,18 +439,7 @@ public: const std::string& get_label() const; }; -class node { -public: - node() = delete; - - node_type get_type() const; - - std::vector get_predecessors() const; - - std::vector get_successors() const; - - static node get_node_from_event(event nodeEvent); -}; +class node {}; // State of a graph enum class graph_state { @@ -499,9 +475,6 @@ public: void make_edge(node& src, node& dest); void print_graph(std::string path, bool verbose = false) const; - - std::vector get_nodes() const; - std::vector get_root_nodes() const; }; template<> @@ -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 get_predecessors() const; ----- -|Returns a list of the predecessor nodes which this node depends on. - -| -[source,c++] ----- -std::vector 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