From 4645d84489ab33eec58c38d44dca076cf4bd6374 Mon Sep 17 00:00:00 2001 From: Ewan Crawford Date: Tue, 11 Jul 2023 15:53:18 +0100 Subject: [PATCH] [SYCL][Doc] Change `graph_support_level` namespace Address [Steffen's feedback](https://github.com/intel/llvm/pull/5626#discussion_r1259846186) and move the `info::device::graph_support_level` to enum up a namespace level to `info::graph_support_level`. Using `info::device::graph_support` to return a `info::graph_support_level` is analogous with the `info::device::device_type` query in the main spec which returns a `info::device_type`. Or `info::device::local_mem_type` which returns a `info::local_mem_type`. --- sycl/doc/extensions/proposed/sycl_ext_oneapi_graph.asciidoc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sycl/doc/extensions/proposed/sycl_ext_oneapi_graph.asciidoc b/sycl/doc/extensions/proposed/sycl_ext_oneapi_graph.asciidoc index e81c7d71a5006..c63889f3becd1 100644 --- a/sycl/doc/extensions/proposed/sycl_ext_oneapi_graph.asciidoc +++ b/sycl/doc/extensions/proposed/sycl_ext_oneapi_graph.asciidoc @@ -330,15 +330,16 @@ class depends_on { // Device query for level of support namespace info { namespace device { + struct graphs_support; +} // namespace device + enum class graph_support_level { unsupported, native, emulated }; - -} // namespace device } // namespace info class node {};