Skip to content

Commit ea35a15

Browse files
committed
revert apis
1 parent faea6e7 commit ea35a15

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

sycl/include/sycl/info/device_traits.def

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,14 @@ __SYCL_PARAM_TRAITS_SPEC(device, ext_oneapi_srgb, bool,
208208
__SYCL_PARAM_TRAITS_SPEC(device, ext_intel_mem_channel, bool,
209209
UR_DEVICE_INFO_MEM_CHANNEL_SUPPORT)
210210

211+
__SYCL_PARAM_TRAITS_SPEC(device, ext_oneapi_max_work_groups_1d, id<1>, __SYCL_TRAIT_HANDLED_IN_RT)
212+
__SYCL_PARAM_TRAITS_SPEC(device, ext_oneapi_max_work_groups_2d, id<2>, __SYCL_TRAIT_HANDLED_IN_RT)
213+
__SYCL_PARAM_TRAITS_SPEC(device, ext_oneapi_max_work_groups_3d, id<3>,
214+
UR_DEVICE_INFO_MAX_WORK_GROUPS_3D)
215+
__SYCL_PARAM_TRAITS_SPEC(device, ext_oneapi_max_global_work_groups, size_t, __SYCL_TRAIT_HANDLED_IN_RT)
216+
__SYCL_PARAM_TRAITS_SPEC(device, ext_oneapi_cuda_cluster_group, bool,
217+
UR_DEVICE_INFO_CLUSTER_LAUNCH_EXP)
218+
211219
#ifdef __SYCL_PARAM_TRAITS_TEMPLATE_SPEC_NEEDS_UNDEF
212220
#undef __SYCL_PARAM_TRAITS_TEMPLATE_SPEC
213221
#undef __SYCL_PARAM_TRAITS_TEMPLATE_SPEC_NEEDS_UNDEF

sycl/include/sycl/info/device_traits_deprecated.def

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,8 @@ __SYCL_PARAM_TRAITS_DEPRECATED(preferred_interop_user_sync,"deprecated in SYCL 2
1919
// Deprecated and not part of SYCL 2020 spec
2020
__SYCL_PARAM_TRAITS_DEPRECATED(image_max_array_size,"support for image arrays has been removed in SYCL 2020")
2121
__SYCL_PARAM_TRAITS_DEPRECATED(opencl_c_version,"use device::get_backend_info instead")
22+
23+
__SYCL_PARAM_TRAITS_DEPRECATED(ext_oneapi_max_work_groups_1d,"use ext::oneapi::experimental::info::device::max_work_groups<1> instead")
24+
__SYCL_PARAM_TRAITS_DEPRECATED(ext_oneapi_max_work_groups_2d,"use ext::oneapi::experimental::info::device::max_work_groups<2> instead")
25+
__SYCL_PARAM_TRAITS_DEPRECATED(ext_oneapi_max_work_groups_3d,"use ext::oneapi::experimental::info::device::max_work_groups<3> instead")
26+
__SYCL_PARAM_TRAITS_DEPRECATED(ext_oneapi_max_global_work_groups,"use ext::oneapi::experimental::info::device::max_global_work_groups instead")

0 commit comments

Comments
 (0)