Skip to content

Commit 4645d84

Browse files
committed
[SYCL][Doc] Change graph_support_level namespace
Address [Steffen's feedback](intel#5626 (comment)) 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`.
1 parent 9ebc7d5 commit 4645d84

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sycl/doc/extensions/proposed/sycl_ext_oneapi_graph.asciidoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,15 +330,16 @@ class depends_on {
330330
// Device query for level of support
331331
namespace info {
332332
namespace device {
333+
333334
struct graphs_support;
334335
336+
} // namespace device
337+
335338
enum class graph_support_level {
336339
unsupported,
337340
native,
338341
emulated
339342
};
340-
341-
} // namespace device
342343
} // namespace info
343344
344345
class node {};

0 commit comments

Comments
 (0)