From 95338719d792964e3f98a08099d5a8eb153a9d50 Mon Sep 17 00:00:00 2001 From: Dmitry Vodopyanov Date: Tue, 18 Oct 2022 14:26:08 +0200 Subject: [PATCH] [SYCL] Deprecate group::get_global_range() (#7032) This patch deprecates group::get_global_range() as it was removed from SYCL 2020 --- sycl/include/sycl/group.hpp | 2 ++ 1 file changed, 2 insertions(+) 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 {