Skip to content

Commit

Permalink
Collapse sycl::khr namespace in group interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Pennycook committed Dec 10, 2024
1 parent dd2110a commit da49573
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions adoc/extensions/sycl_khr_group_interface.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ clarify the definition for each type.
[source,role=synopsis]
----
namespace sycl {
namespace khr {
namespace sycl::khr {
class __group__ {
Expand Down Expand Up @@ -83,8 +82,7 @@ work_item<Group> get_item(Group g) noexcept;
template <typename Group>
bool leader_of(Group g) noexcept;
} // namespace khr
} // namespace sycl
} // namespace sycl::khr
----

[[sec:khr-group-interface-common-member-funcs]]
Expand Down Expand Up @@ -234,8 +232,7 @@ The SYCL [code]#work_group# class template provides common by-value semantics

[source,role=synopsis]
----
namespace sycl {
namespace khr {
namespace sycl::khr {
template <int Dimensions = 1>
class work_group {
Expand All @@ -261,8 +258,7 @@ class work_group {
};
} // namespace khr
} // namespace sycl
} // namespace sycl::khr
----

.[apidef]#work_group constructor#
Expand Down Expand Up @@ -300,8 +296,7 @@ The SYCL [code]#sub_group# class template provides common by-value semantics

[source,role=synopsis]
----
namespace sycl {
namespace khr {
namespace sycl::khr {
class sub_group {
Expand All @@ -328,8 +323,7 @@ class sub_group {
};
} // namespace khr
} // namespace sycl
} // namespace sycl::khr
----

.[apidef]#sub_group constructor#
Expand Down Expand Up @@ -386,8 +380,7 @@ The SYCL [code]#work_item# class template provides common by-value semantics

[source,role=synopsis]
----
namespace sycl {
namespace khr {
namespace sycl::khr {
template <typename ParentGroup>
class work_item {
Expand All @@ -409,8 +402,7 @@ class work_item {
};
} // namespace khr
} // namespace sycl
} // namespace sycl::khr
----

[[sec:khr-group-interface-example]]
Expand Down

0 comments on commit da49573

Please sign in to comment.