Skip to content

Commit a948c1e

Browse files
author
Alexander Batashev
committed
Minor fix
1 parent 55292a1 commit a948c1e

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

sycl/include/CL/sycl/kernel.hpp

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,24 +127,27 @@ class __SYCL_EXPORT kernel {
127127
///
128128
/// \param Device is a valid SYCL device.
129129
/// \return depends on information being queried.
130-
__SYCL_DEPRECATED("Use get_info with info::kernel_device_specific instead.")
131130
template <info::kernel_sub_group param>
131+
// clang-format off
132132
typename info::param_traits<info::kernel_sub_group, param>::return_type
133+
__SYCL_DEPRECATED("Use get_info with info::kernel_device_specific instead.")
133134
get_sub_group_info(const device &Device) const;
135+
// clang-format on
134136

135137
/// Query sub-group information from a kernel using the
136138
/// info::kernel_sub_group descriptor for a specific device and value.
137139
///
138140
/// \param Device is a valid SYCL device.
139141
/// \param Value depends on information being queried.
140142
/// \return depends on information being queried.
141-
__SYCL_DEPRECATED("Use get_info with info::kernel_device_specific instead.")
142143
template <info::kernel_sub_group param>
144+
// clang-format off
143145
typename info::param_traits<info::kernel_sub_group, param>::return_type
144-
get_sub_group_info(
145-
const device &Device,
146-
typename info::param_traits<info::kernel_sub_group, param>::input_type
147-
Value) const;
146+
__SYCL_DEPRECATED("Use get_info with info::kernel_device_specific instead.")
147+
get_sub_group_info(const device &Device,
148+
typename info::param_traits<info::kernel_sub_group,
149+
param>::input_type Value) const;
150+
// clang-format on
148151

149152
private:
150153
/// Constructs a SYCL kernel object from a valid kernel_impl instance.

0 commit comments

Comments
 (0)