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