Skip to content

Commit 23cca73

Browse files
committed
Replace enum with struct to avoid polluting sycl::
1 parent b35f5b0 commit 23cca73

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sycl/doc/extensions/proposed/sycl_ext_oneapi_named_sub_group_sizes.asciidoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,9 @@ namespace ext {
163163
namespace oneapi {
164164
namespace experimental {
165165

166-
enum named_sub_group_size : uint32_t {
167-
primary = /* implementation-defined */,
168-
automatic = /* implementation-defined */,
166+
struct named_sub_group_size {
167+
static constexpr uint32_t primary = /* unspecified */,
168+
static constexpr uint32_t automatic = /* unspecified */,
169169
};
170170

171171
inline constexpr sub_group_size_key::value_t<named_sub_group_size::primary> sub_group_size_primary;

0 commit comments

Comments
 (0)