File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
sycl/include/sycl/ext/oneapi/experimental Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -49,14 +49,15 @@ class __SYCL_SPECIAL_CLASS __SYCL_TYPE(work_group_memory) work_group_memory
4949 using decoratedPtr = typename sycl::detail::DecoratedType<
5050 value_type, access::address_space::local_space>::type *;
5151
52- public:
5352// Frontend requires special types to have a default constructor in device
5453// compilation mode in order to have a uniform way of initializing an object of
5554// special type to then call the __init method on it. This is purely an
5655// implementation detail and not part of the spec.
5756#ifdef __SYCL_DEVICE_ONLY__
5857 work_group_memory () = default ;
5958#endif
59+
60+ public:
6061 work_group_memory (const indeterminate_t &) {};
6162 work_group_memory (const work_group_memory &rhs) = default ;
6263 work_group_memory &operator =(const work_group_memory &rhs) = default ;
You can’t perform that action at this time.
0 commit comments