Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SYCL] Rename usm_system_allocator to usm_system_allocations #4007

Conversation

dm-vodopyanov
Copy link
Contributor

This patch renames usm_system_allocator to usm_system_allocations to
conform SYCL 2020 spec.

This patch renames usm_system_allocator to usm_system_allocations to
conform SYCL 2020 spec.
@dm-vodopyanov dm-vodopyanov requested a review from a team as a code owner June 28, 2021 09:53
@dm-vodopyanov
Copy link
Contributor Author

@rbegam, ping.

@dm-vodopyanov
Copy link
Contributor Author

@sergey-semenov, can you please review?

@sergey-semenov
Copy link
Contributor

The change LGTM overall, but I'm a little bit concerned about the existing code that may use the old non-conformant value which was introduced 5 months ago. @romanovvlad Do you think this is something we should worry about in cases like this? Does it make sense to deprecate then remove the incorrect value here?

@bader bader linked an issue Jun 29, 2021 that may be closed by this pull request
@dm-vodopyanov dm-vodopyanov changed the title Rename usm_system_allocator to usm_system_allocations [SYCL] Rename usm_system_allocator to usm_system_allocations Jun 29, 2021
@romanovvlad
Copy link
Contributor

The change LGTM overall, but I'm a little bit concerned about the existing code that may use the old non-conformant value which was introduced 5 months ago. @romanovvlad Do you think this is something we should worry about in cases like this? Does it make sense to deprecate then remove the incorrect value here?

Yes, I think we should keep old value and mark with a deprecation warning. There might be code using it already.

@dm-vodopyanov
Copy link
Contributor Author

@sergey-semenov, can you please review?

@bader bader merged commit 000cc82 into intel:sycl Jul 8, 2021
@dm-vodopyanov dm-vodopyanov deleted the private/dvodopya/usm_system_allocator_to_usm_system_allocations branch February 10, 2022 14:06
AlexeySachkov pushed a commit that referenced this pull request Apr 15, 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>
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.

[SYCL] Incorrect aspect system allocator enumerator spelling
4 participants