Skip to content

Conversation

HPS-1
Copy link
Contributor

@HPS-1 HPS-1 commented Apr 4, 2024

As mentioned in the CTS pull request KhronosGroup/SYCL-CTS#870, two device info descriptors, namely info::device::image_max_array_size and info::device::opencl_c_version, have been deprecated and no longer exist in the SYCL 2020 specification. But they still exist in our implementation, so I'm setting up deprecation warnings for them. Also a related test case has been revised to remove the usage of info::device::opencl_c_version.

Also info::device::usm_system_allocator has been replaced and marked as deprecated 2+ years ago in PR #4007 and #9217 respectively. So I'm cleaning up a few relevant code pieces in our code as well in this PR.

Signed-off-by: Hu, Peisen <peisen.hu@intel.com>
Signed-off-by: Hu, Peisen <peisen.hu@intel.com>
…size and info::device::image_max_array_size

Signed-off-by: Hu, Peisen <peisen.hu@intel.com>
Signed-off-by: Hu, Peisen <peisen.hu@intel.com>
@HPS-1 HPS-1 changed the title [SYCL] Prepare the deprecation of two device info descriptors deprecated in SYCL 2020 [SYCL] Setup deprecation warnings for device info descriptors that have been deprecated and not part SYCL 2020 Apr 4, 2024
@HPS-1 HPS-1 temporarily deployed to WindowsCILock April 5, 2024 13:06 — with GitHub Actions Inactive
@HPS-1 HPS-1 temporarily deployed to WindowsCILock April 5, 2024 13:44 — with GitHub Actions Inactive
Signed-off-by: Hu, Peisen <peisen.hu@intel.com>
Signed-off-by: Hu, Peisen <peisen.hu@intel.com>
@HPS-1 HPS-1 temporarily deployed to WindowsCILock April 9, 2024 13:27 — with GitHub Actions Inactive
@HPS-1 HPS-1 temporarily deployed to WindowsCILock April 9, 2024 14:08 — with GitHub Actions Inactive
@HPS-1 HPS-1 marked this pull request as ready for review April 9, 2024 16:51
@HPS-1 HPS-1 requested review from a team as code owners April 9, 2024 16:51
@HPS-1 HPS-1 requested a review from steffenlarsen April 9, 2024 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants