@@ -127,24 +127,27 @@ class __SYCL_EXPORT kernel {
127
127
// /
128
128
// / \param Device is a valid SYCL device.
129
129
// / \return depends on information being queried.
130
- __SYCL_DEPRECATED (" Use get_info with info::kernel_device_specific instead." )
131
130
template <info::kernel_sub_group param>
131
+ // clang-format off
132
132
typename info::param_traits<info::kernel_sub_group, param>::return_type
133
+ __SYCL_DEPRECATED (" Use get_info with info::kernel_device_specific instead." )
133
134
get_sub_group_info (const device &Device) const ;
135
+ // clang-format on
134
136
135
137
// / Query sub-group information from a kernel using the
136
138
// / info::kernel_sub_group descriptor for a specific device and value.
137
139
// /
138
140
// / \param Device is a valid SYCL device.
139
141
// / \param Value depends on information being queried.
140
142
// / \return depends on information being queried.
141
- __SYCL_DEPRECATED (" Use get_info with info::kernel_device_specific instead." )
142
143
template <info::kernel_sub_group param>
144
+ // clang-format off
143
145
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
148
151
149
152
private:
150
153
// / Constructs a SYCL kernel object from a valid kernel_impl instance.
0 commit comments