@@ -25,11 +25,13 @@ namespace info {
25
25
// Information descriptors
26
26
// A.1 Platform information descriptors
27
27
enum class platform {
28
- profile = PI_PLATFORM_INFO_PROFILE,
29
- version = PI_PLATFORM_INFO_VERSION,
30
- name = PI_PLATFORM_INFO_NAME,
31
- vendor = PI_PLATFORM_INFO_VENDOR,
32
- extensions = PI_PLATFORM_INFO_EXTENSIONS,
28
+ profile = PI_PLATFORM_INFO_PROFILE,
29
+ version = PI_PLATFORM_INFO_VERSION,
30
+ name = PI_PLATFORM_INFO_NAME,
31
+ vendor = PI_PLATFORM_INFO_VENDOR,
32
+ extensions __SYCL2020_DEPRECATED (
33
+ " platform::extensions is deprecated, use device::get_info() with"
34
+ " info::device::aspects instead." ) = PI_PLATFORM_INFO_EXTENSIONS,
33
35
};
34
36
35
37
// A.2 Context information desctiptors
@@ -113,7 +115,9 @@ enum class device : cl_device_info {
113
115
profile = CL_DEVICE_PROFILE,
114
116
version = CL_DEVICE_VERSION,
115
117
opencl_c_version = CL_DEVICE_OPENCL_C_VERSION,
116
- extensions = CL_DEVICE_EXTENSIONS,
118
+ extensions __SYCL2020_DEPRECATED(
119
+ " device::extensions is deprecated, use info::device::aspects"
120
+ " instead." ) = CL_DEVICE_EXTENSIONS,
117
121
printf_buffer_size = CL_DEVICE_PRINTF_BUFFER_SIZE,
118
122
preferred_interop_user_sync = CL_DEVICE_PREFERRED_INTEROP_USER_SYNC,
119
123
parent_device = CL_DEVICE_PARENT_DEVICE,
0 commit comments