Skip to content

Commit bb63b54

Browse files
committed
Remove indeterminate change and add it in a separate PR
1 parent df3902f commit bb63b54

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

sycl/include/sycl/ext/oneapi/experimental/work_group_memory.hpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ class work_group_memory_impl {
3636
} // namespace detail
3737
namespace ext::oneapi::experimental {
3838

39-
struct indeterminate_t {};
40-
inline constexpr indeterminate_t indeterminate;
41-
4239
template <typename DataT, typename PropertyListT = empty_properties_t>
4340
class __SYCL_SPECIAL_CLASS __SYCL_TYPE(work_group_memory) work_group_memory
4441
: sycl::detail::work_group_memory_impl {
@@ -59,14 +56,7 @@ class __SYCL_SPECIAL_CLASS __SYCL_TYPE(work_group_memory) work_group_memory
5956
value_type, access::address_space::local_space>::type *;
6057

6158
public:
62-
// Frontend requires special types to have a default constructor in device
63-
// compilation mode in order to have a unified way of initializing an object and
64-
// then calling init method on it. This is an implementation detail and not part
65-
// of the spec.
66-
#ifdef __SYCL_DEVICE_ONLY__
6759
work_group_memory() = default;
68-
#endif
69-
work_group_memory(const indeterminate_t &) { check_props_empty(); }
7060
work_group_memory(const work_group_memory &rhs) = default;
7161
work_group_memory &operator=(const work_group_memory &rhs) = default;
7262
template <typename T = DataT,

0 commit comments

Comments
 (0)