diff --git a/adoc/headers/group.h b/adoc/headers/group.h index 3f897ffb..6c91691a 100644 --- a/adoc/headers/group.h +++ b/adoc/headers/group.h @@ -10,6 +10,8 @@ template class group { static constexpr int dimensions = Dimensions; static constexpr memory_scope fence_scope = memory_scope::work_group; + group() = delete; + /* -- common interface members -- */ id get_group_id() const; diff --git a/adoc/headers/subgroup.h b/adoc/headers/subgroup.h index ec6a0320..f47b5e77 100644 --- a/adoc/headers/subgroup.h +++ b/adoc/headers/subgroup.h @@ -10,6 +10,8 @@ class sub_group { static constexpr int dimensions = 1; static constexpr memory_scope fence_scope = memory_scope::sub_group; + sub_group() = delete; + /* -- common interface members -- */ id<1> get_group_id() const;