Skip to content

Commit bea6aa2

Browse files
authored
[SYCL] Align sub-group implementation and docs (#1922)
- Deprecate two-input shuffles - Fix linear_id type (size_t => uint32_t) - Add linear ID queries - Remove fence_space from barrier Signed-off-by: John Pennycook <[email protected]>
1 parent 9d1a280 commit bea6aa2

File tree

6 files changed

+343
-314
lines changed

6 files changed

+343
-314
lines changed

sycl/include/CL/sycl/detail/defines.hpp

+6
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@
4747
#endif
4848
#endif
4949

50+
#ifdef _WIN32
51+
#define __SYCL_DEPRECATED(message) __declspec(deprecated(message))
52+
#else
53+
#define __SYCL_DEPRECATED(message) __attribute__((deprecated(message)))
54+
#endif
55+
5056
// inline constexpr is a C++17 feature
5157
#if __cplusplus >= 201703L
5258
#define __SYCL_INLINE_CONSTEXPR inline constexpr

0 commit comments

Comments
 (0)