@@ -106,15 +106,13 @@ template __SYCL_EXPORT uint32_t
106106kernel::get_info<info::kernel_device_specific::max_sub_group_size>(
107107 const device &, const sycl::range<3 > &) const ;
108108
109- #ifndef __INTEL_PREVIEW_BREAKING_CHANGES
110109// This function is unused and should be removed in the next ABI-breaking
111110// window.
112111template <typename Param>
113112typename detail::is_kernel_queue_specific_info_desc<Param>::return_type
114113kernel::ext_oneapi_get_info (queue Queue) const {
115114 return impl->ext_oneapi_get_info <Param>(std::move (Queue));
116115}
117- #endif // __INTEL_PREVIEW_BREAKING_CHANGES
118116
119117template <typename Param>
120118typename detail::is_kernel_queue_specific_info_desc<Param>::return_type
@@ -158,10 +156,6 @@ kernel::ext_oneapi_get_info(queue Queue, const range<3> &WorkGroupSize,
158156 DynamicLocalMemorySize);
159157}
160158
161- #ifndef __INTEL_PREVIEW_BREAKING_CHANGES
162- // These functions are unused and should be removed in the next ABI-breaking
163- // window.
164-
165159template __SYCL_EXPORT typename ext::oneapi::experimental::info::
166160 kernel_queue_specific::max_work_group_size::return_type
167161 kernel::ext_oneapi_get_info<ext::oneapi::experimental::info::
@@ -186,8 +180,6 @@ template __SYCL_EXPORT typename ext::oneapi::experimental::info::
186180 ext::oneapi::experimental::info::kernel_queue_specific::
187181 max_work_item_sizes<3 >>(queue Queue) const ;
188182
189- #endif // __INTEL_PREVIEW_BREAKING_CHANGES
190-
191183template __SYCL_EXPORT typename ext::oneapi::experimental::info::
192184 kernel_queue_specific::max_sub_group_size::return_type
193185 kernel::ext_oneapi_get_info<ext::oneapi::experimental::info::
@@ -245,55 +237,5 @@ kernel::kernel(std::shared_ptr<detail::kernel_impl> Impl) : impl(Impl) {}
245237
246238ur_native_handle_t kernel::getNative () const { return impl->getNative (); }
247239
248- #ifndef __INTEL_PREVIEW_BREAKING_CHANGES
249- ur_native_handle_t kernel::getNativeImpl () const { return impl->getNative (); }
250-
251- // The following query was deprecated since it doesn't include a way to specify
252- // the invdividual dimensions of the work group. All of the contents of this
253- // #ifndef block should be removed during the next ABI breaking window.
254- namespace ext ::oneapi::experimental::info::kernel_queue_specific {
255- struct max_num_work_group_sync {
256- using return_type = size_t ;
257- };
258- } // namespace ext::oneapi::experimental::info::kernel_queue_specific
259- template <>
260- struct detail ::is_kernel_queue_specific_info_desc<
261- ext::oneapi::experimental::info::kernel_queue_specific::
262- max_num_work_group_sync> : std::true_type {
263- using return_type = ext::oneapi::experimental::info::kernel_queue_specific::
264- max_num_work_group_sync::return_type;
265- };
266- template <>
267- __SYCL2020_DEPRECATED (
268- " The 'max_num_work_group_sync' query is deprecated. See "
269- " 'sycl_ext_oneapi_launch_queries' for the new 'max_num_work_groups' query." )
270- __SYCL_EXPORT typename ext::oneapi::experimental::info::kernel_queue_specific::
271- max_num_work_group_sync::return_type kernel::ext_oneapi_get_info<
272- ext::oneapi::experimental::info::kernel_queue_specific::
273- max_num_work_group_sync>(queue Queue, const range<3 > &WorkGroupSize,
274- size_t DynamicLocalMemorySize) const {
275- return ext_oneapi_get_info<ext::oneapi::experimental::info::
276- kernel_queue_specific::max_num_work_groups>(
277- std::move (Queue), WorkGroupSize, DynamicLocalMemorySize);
278- }
279- template <>
280- __SYCL2020_DEPRECATED (
281- " The 'max_num_work_group_sync' query is deprecated. See "
282- " 'sycl_ext_oneapi_launch_queries' for the new 'max_num_work_groups' query." )
283- __SYCL_EXPORT typename ext::oneapi::experimental::info::kernel_queue_specific::
284- max_num_work_group_sync::return_type kernel::ext_oneapi_get_info<
285- ext::oneapi::experimental::info::kernel_queue_specific::
286- max_num_work_group_sync>(queue Queue) const {
287- auto Device = Queue.get_device ();
288- const auto MaxWorkGroupSize =
289- get_info<info::kernel_device_specific::work_group_size>(Device);
290- const sycl::range<3 > WorkGroupSize{MaxWorkGroupSize, 1 , 1 };
291- return ext_oneapi_get_info<ext::oneapi::experimental::info::
292- kernel_queue_specific::max_num_work_groups>(
293- std::move (Queue), WorkGroupSize,
294- /* DynamicLocalMemorySize */ 0 );
295- }
296- #endif
297-
298240} // namespace _V1
299241} // namespace sycl
0 commit comments