@@ -159,7 +159,7 @@ Function for_each(Group g, Ptr first, Ptr last, Function f) {
159
159
(void )first;
160
160
(void )last;
161
161
(void )f;
162
- throw runtime_error (" Group algorithms are not supported on host device ." ,
162
+ throw runtime_error (" Group algorithms are not supported on host." ,
163
163
PI_ERROR_INVALID_DEVICE);
164
164
#endif
165
165
}
@@ -186,7 +186,7 @@ reduce_over_group(Group, T x, BinaryOperation binary_op) {
186
186
sycl::detail::spirv::group_scope<Group>::value>(
187
187
typename sycl::detail::GroupOpTag<T>::type (), x, binary_op);
188
188
#else
189
- throw runtime_error (" Group algorithms are not supported on host device ." ,
189
+ throw runtime_error (" Group algorithms are not supported on host." ,
190
190
PI_ERROR_INVALID_DEVICE);
191
191
#endif
192
192
}
@@ -209,7 +209,7 @@ reduce_over_group(Group g, T x, BinaryOperation binary_op) {
209
209
(void )g;
210
210
(void )x;
211
211
(void )binary_op;
212
- throw runtime_error (" Group algorithms are not supported on host device ." ,
212
+ throw runtime_error (" Group algorithms are not supported on host." ,
213
213
PI_ERROR_INVALID_DEVICE);
214
214
#endif
215
215
}
@@ -258,7 +258,7 @@ reduce_over_group(Group g, V x, T init, BinaryOperation binary_op) {
258
258
return binary_op (init, reduce_over_group (g, x, binary_op));
259
259
#else
260
260
(void )g;
261
- throw runtime_error (" Group algorithms are not supported on host device ." ,
261
+ throw runtime_error (" Group algorithms are not supported on host." ,
262
262
PI_ERROR_INVALID_DEVICE);
263
263
#endif
264
264
}
@@ -286,7 +286,7 @@ reduce_over_group(Group g, V x, T init, BinaryOperation binary_op) {
286
286
return result;
287
287
#else
288
288
(void )g;
289
- throw runtime_error (" Group algorithms are not supported on host device ." ,
289
+ throw runtime_error (" Group algorithms are not supported on host." ,
290
290
PI_ERROR_INVALID_DEVICE);
291
291
#endif
292
292
}
@@ -310,7 +310,7 @@ joint_reduce(Group g, Ptr first, Ptr last, BinaryOperation binary_op) {
310
310
(void )first;
311
311
(void )last;
312
312
(void )binary_op;
313
- throw runtime_error (" Group algorithms are not supported on host device ." ,
313
+ throw runtime_error (" Group algorithms are not supported on host." ,
314
314
PI_ERROR_INVALID_DEVICE);
315
315
#endif
316
316
}
@@ -345,7 +345,7 @@ joint_reduce(Group g, Ptr first, Ptr last, T init, BinaryOperation binary_op) {
345
345
#else
346
346
(void )g;
347
347
(void )last;
348
- throw runtime_error (" Group algorithms are not supported on host device ." ,
348
+ throw runtime_error (" Group algorithms are not supported on host." ,
349
349
PI_ERROR_INVALID_DEVICE);
350
350
#endif
351
351
}
@@ -358,7 +358,7 @@ any_of_group(Group, bool pred) {
358
358
return sycl::detail::spirv::GroupAny<Group>(pred);
359
359
#else
360
360
(void )pred;
361
- throw runtime_error (" Group algorithms are not supported on host device ." ,
361
+ throw runtime_error (" Group algorithms are not supported on host." ,
362
362
PI_ERROR_INVALID_DEVICE);
363
363
#endif
364
364
}
@@ -384,7 +384,7 @@ joint_any_of(Group g, Ptr first, Ptr last, Predicate pred) {
384
384
(void )first;
385
385
(void )last;
386
386
(void )pred;
387
- throw runtime_error (" Group algorithms are not supported on host device ." ,
387
+ throw runtime_error (" Group algorithms are not supported on host." ,
388
388
PI_ERROR_INVALID_DEVICE);
389
389
#endif
390
390
}
@@ -397,7 +397,7 @@ all_of_group(Group, bool pred) {
397
397
return sycl::detail::spirv::GroupAll<Group>(pred);
398
398
#else
399
399
(void )pred;
400
- throw runtime_error (" Group algorithms are not supported on host device ." ,
400
+ throw runtime_error (" Group algorithms are not supported on host." ,
401
401
PI_ERROR_INVALID_DEVICE);
402
402
#endif
403
403
}
@@ -423,7 +423,7 @@ joint_all_of(Group g, Ptr first, Ptr last, Predicate pred) {
423
423
(void )first;
424
424
(void )last;
425
425
(void )pred;
426
- throw runtime_error (" Group algorithms are not supported on host device ." ,
426
+ throw runtime_error (" Group algorithms are not supported on host." ,
427
427
PI_ERROR_INVALID_DEVICE);
428
428
#endif
429
429
}
@@ -436,7 +436,7 @@ none_of_group(Group, bool pred) {
436
436
return sycl::detail::spirv::GroupAll<Group>(!pred);
437
437
#else
438
438
(void )pred;
439
- throw runtime_error (" Group algorithms are not supported on host device ." ,
439
+ throw runtime_error (" Group algorithms are not supported on host." ,
440
440
PI_ERROR_INVALID_DEVICE);
441
441
#endif
442
442
}
@@ -459,7 +459,7 @@ joint_none_of(Group g, Ptr first, Ptr last, Predicate pred) {
459
459
(void )first;
460
460
(void )last;
461
461
(void )pred;
462
- throw runtime_error (" Group algorithms are not supported on host device ." ,
462
+ throw runtime_error (" Group algorithms are not supported on host." ,
463
463
PI_ERROR_INVALID_DEVICE);
464
464
#endif
465
465
}
@@ -478,7 +478,7 @@ shift_group_left(Group, T x, typename Group::linear_id_type delta = 1) {
478
478
#else
479
479
(void )x;
480
480
(void )delta;
481
- throw runtime_error (" Sub-groups are not supported on host device ." ,
481
+ throw runtime_error (" Sub-groups are not supported on host." ,
482
482
PI_ERROR_INVALID_DEVICE);
483
483
#endif
484
484
}
@@ -497,7 +497,7 @@ shift_group_right(Group, T x, typename Group::linear_id_type delta = 1) {
497
497
#else
498
498
(void )x;
499
499
(void )delta;
500
- throw runtime_error (" Sub-groups are not supported on host device ." ,
500
+ throw runtime_error (" Sub-groups are not supported on host." ,
501
501
PI_ERROR_INVALID_DEVICE);
502
502
#endif
503
503
}
@@ -516,7 +516,7 @@ permute_group_by_xor(Group, T x, typename Group::linear_id_type mask) {
516
516
#else
517
517
(void )x;
518
518
(void )mask;
519
- throw runtime_error (" Sub-groups are not supported on host device ." ,
519
+ throw runtime_error (" Sub-groups are not supported on host." ,
520
520
PI_ERROR_INVALID_DEVICE);
521
521
#endif
522
522
}
@@ -535,7 +535,7 @@ select_from_group(Group, T x, typename Group::id_type local_id) {
535
535
#else
536
536
(void )x;
537
537
(void )local_id;
538
- throw runtime_error (" Sub-groups are not supported on host device ." ,
538
+ throw runtime_error (" Sub-groups are not supported on host." ,
539
539
PI_ERROR_INVALID_DEVICE);
540
540
#endif
541
541
}
@@ -554,7 +554,7 @@ group_broadcast(Group, T x, typename Group::id_type local_id) {
554
554
#else
555
555
(void )x;
556
556
(void )local_id;
557
- throw runtime_error (" Group algorithms are not supported on host device ." ,
557
+ throw runtime_error (" Group algorithms are not supported on host." ,
558
558
PI_ERROR_INVALID_DEVICE);
559
559
#endif
560
560
}
@@ -573,7 +573,7 @@ group_broadcast(Group g, T x, typename Group::linear_id_type linear_local_id) {
573
573
(void )g;
574
574
(void )x;
575
575
(void )linear_local_id;
576
- throw runtime_error (" Group algorithms are not supported on host device ." ,
576
+ throw runtime_error (" Group algorithms are not supported on host." ,
577
577
PI_ERROR_INVALID_DEVICE);
578
578
#endif
579
579
}
@@ -589,7 +589,7 @@ group_broadcast(Group g, T x) {
589
589
#else
590
590
(void )g;
591
591
(void )x;
592
- throw runtime_error (" Group algorithms are not supported on host device ." ,
592
+ throw runtime_error (" Group algorithms are not supported on host." ,
593
593
PI_ERROR_INVALID_DEVICE);
594
594
#endif
595
595
}
@@ -614,7 +614,7 @@ exclusive_scan_over_group(Group, T x, BinaryOperation binary_op) {
614
614
sycl::detail::spirv::group_scope<Group>::value>(
615
615
typename sycl::detail::GroupOpTag<T>::type (), x, binary_op);
616
616
#else
617
- throw runtime_error (" Group algorithms are not supported on host device ." ,
617
+ throw runtime_error (" Group algorithms are not supported on host." ,
618
618
PI_ERROR_INVALID_DEVICE);
619
619
#endif
620
620
}
@@ -637,7 +637,7 @@ exclusive_scan_over_group(Group g, T x, BinaryOperation binary_op) {
637
637
(void )g;
638
638
(void )x;
639
639
(void )binary_op;
640
- throw runtime_error (" Group algorithms are not supported on host device ." ,
640
+ throw runtime_error (" Group algorithms are not supported on host." ,
641
641
PI_ERROR_INVALID_DEVICE);
642
642
#endif
643
643
}
@@ -715,7 +715,7 @@ exclusive_scan_over_group(Group g, V x, T init, BinaryOperation binary_op) {
715
715
return scan;
716
716
#else
717
717
(void )g;
718
- throw runtime_error (" Group algorithms are not supported on host device ." ,
718
+ throw runtime_error (" Group algorithms are not supported on host." ,
719
719
PI_ERROR_INVALID_DEVICE);
720
720
#endif
721
721
}
@@ -773,7 +773,7 @@ joint_exclusive_scan(Group g, InPtr first, InPtr last, OutPtr result, T init,
773
773
(void )last;
774
774
(void )result;
775
775
(void )init;
776
- throw runtime_error (" Group algorithms are not supported on host device ." ,
776
+ throw runtime_error (" Group algorithms are not supported on host." ,
777
777
PI_ERROR_INVALID_DEVICE);
778
778
#endif
779
779
}
@@ -845,7 +845,7 @@ inclusive_scan_over_group(Group, T x, BinaryOperation binary_op) {
845
845
sycl::detail::spirv::group_scope<Group>::value>(
846
846
typename sycl::detail::GroupOpTag<T>::type (), x, binary_op);
847
847
#else
848
- throw runtime_error (" Group algorithms are not supported on host device ." ,
848
+ throw runtime_error (" Group algorithms are not supported on host." ,
849
849
PI_ERROR_INVALID_DEVICE);
850
850
#endif
851
851
}
@@ -867,7 +867,7 @@ inclusive_scan_over_group(Group g, T x, BinaryOperation binary_op) {
867
867
(void )g;
868
868
(void )x;
869
869
(void )binary_op;
870
- throw runtime_error (" Group algorithms are not supported on host device ." ,
870
+ throw runtime_error (" Group algorithms are not supported on host." ,
871
871
PI_ERROR_INVALID_DEVICE);
872
872
#endif
873
873
}
@@ -897,7 +897,7 @@ inclusive_scan_over_group(Group g, V x, BinaryOperation binary_op, T init) {
897
897
return inclusive_scan_over_group (g, x, binary_op);
898
898
#else
899
899
(void )g;
900
- throw runtime_error (" Group algorithms are not supported on host device ." ,
900
+ throw runtime_error (" Group algorithms are not supported on host." ,
901
901
PI_ERROR_INVALID_DEVICE);
902
902
#endif
903
903
}
@@ -975,7 +975,7 @@ joint_inclusive_scan(Group g, InPtr first, InPtr last, OutPtr result,
975
975
(void )g;
976
976
(void )last;
977
977
(void )result;
978
- throw runtime_error (" Group algorithms are not supported on host device ." ,
978
+ throw runtime_error (" Group algorithms are not supported on host." ,
979
979
PI_ERROR_INVALID_DEVICE);
980
980
#endif
981
981
}
0 commit comments