@@ -209,64 +209,6 @@ struct sub_group {
209
209
#endif
210
210
}
211
211
212
- template <typename T>
213
- using EnableIfIsScalarArithmetic =
214
- std::enable_if_t <sycl::detail::is_scalar_arithmetic<T>::value, T>;
215
-
216
- /* --- one-input shuffles --- */
217
- /* indices in [0 , sub_group size) */
218
- template <typename T>
219
- __SYCL_DEPRECATED (" Shuffles in the sub-group class are deprecated." )
220
- T shuffle (T x, id_type local_id) const {
221
- #ifdef __SYCL_DEVICE_ONLY__
222
- return sycl::detail::spirv::Shuffle (*this , x, local_id);
223
- #else
224
- (void )x;
225
- (void )local_id;
226
- throw sycl::exception (make_error_code (errc::feature_not_supported),
227
- " Sub-groups are not supported on host." );
228
- #endif
229
- }
230
-
231
- template <typename T>
232
- __SYCL_DEPRECATED (" Shuffles in the sub-group class are deprecated." )
233
- T shuffle_down (T x, uint32_t delta) const {
234
- #ifdef __SYCL_DEVICE_ONLY__
235
- return sycl::detail::spirv::ShuffleDown (*this , x, delta);
236
- #else
237
- (void )x;
238
- (void )delta;
239
- throw sycl::exception (make_error_code (errc::feature_not_supported),
240
- " Sub-groups are not supported on host." );
241
- #endif
242
- }
243
-
244
- template <typename T>
245
- __SYCL_DEPRECATED (" Shuffles in the sub-group class are deprecated." )
246
- T shuffle_up (T x, uint32_t delta) const {
247
- #ifdef __SYCL_DEVICE_ONLY__
248
- return sycl::detail::spirv::ShuffleUp (*this , x, delta);
249
- #else
250
- (void )x;
251
- (void )delta;
252
- throw sycl::exception (make_error_code (errc::feature_not_supported),
253
- " Sub-groups are not supported on host." );
254
- #endif
255
- }
256
-
257
- template <typename T>
258
- __SYCL_DEPRECATED (" Shuffles in the sub-group class are deprecated." )
259
- T shuffle_xor (T x, id_type value) const {
260
- #ifdef __SYCL_DEVICE_ONLY__
261
- return sycl::detail::spirv::ShuffleXor (*this , x, value);
262
- #else
263
- (void )x;
264
- (void )value;
265
- throw sycl::exception (make_error_code (errc::feature_not_supported),
266
- " Sub-groups are not supported on host." );
267
- #endif
268
- }
269
-
270
212
/* --- sub_group load/stores --- */
271
213
/* these can map to SIMD or block read/write hardware where available */
272
214
#ifdef __SYCL_DEVICE_ONLY__
0 commit comments