File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -554,7 +554,9 @@ struct sub_group {
554
554
}
555
555
556
556
/* --- synchronization functions --- */
557
- __SYCL_DEPRECATED (" Sub-group barrier with no arguments is deprecated." )
557
+ __SYCL_DEPRECATED (
558
+ " Sub-group barrier with no arguments is deprecated."
559
+ " Use sycl::group_barrier with the sub-group as the argument instead." )
558
560
void barrier () const {
559
561
#ifdef __SYCL_DEVICE_ONLY__
560
562
__spirv_ControlBarrier (
@@ -569,8 +571,9 @@ struct sub_group {
569
571
#endif
570
572
}
571
573
572
- __SYCL_DEPRECATED (" Sub-group barrier accepting fence_space is deprecated."
573
- " Use barrier() without a fence_space instead." )
574
+ __SYCL_DEPRECATED (
575
+ " Sub-group barrier accepting fence_space is deprecated."
576
+ " Use sycl::group_barrier with the sub-group as the argument instead." )
574
577
void barrier (access::fence_space accessSpace) const {
575
578
#ifdef __SYCL_DEVICE_ONLY__
576
579
int32_t flags = sycl::detail::getSPIRVMemorySemanticsMask (accessSpace);
You can’t perform that action at this time.
0 commit comments