diff --git a/sycl/include/sycl/group.hpp b/sycl/include/sycl/group.hpp index c59d1470c3486..607b03d091ac7 100644 --- a/sycl/include/sycl/group.hpp +++ b/sycl/include/sycl/group.hpp @@ -115,6 +115,8 @@ template class __SYCL_TYPE(group) group { size_t get_group_id(int dimension) const { return index[dimension]; } + __SYCL2020_DEPRECATED("calculate sycl::group::get_group_range() * " + "sycl::group::get_max_local_range() instead") range get_global_range() const { return globalRange; } size_t get_global_range(int dimension) const {