-
Notifications
You must be signed in to change notification settings - Fork 67
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
Undeprecate legacy multi_ptr #604
Undeprecate legacy multi_ptr #604
Conversation
The legacy decoration for multi_ptr has been made the default template argument of the decoration in multi_ptr to bridge the gap between SYCL 1.2.1 and SYCL 2020 multi_ptr interfaces. However, the legacy decoration and the specialization of multi_ptr with the decoration is deprecated with SYCL 2020. This is confusing to users as they may easily run into deprecation warnings simply due to not specifying the decoration. This commit proposes that we remove the deprecation of legacy in SYCL 2020. Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
Note that |
How about the statement in programming_interface.adoc:
Should that also be removed as part of this PR? |
Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
Good catch! It has been removed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't comment on whether this change is the right thing to do, but the code LGTM.
I think we also need to update the change log, that currently states that the legacy option for multi_ptr is deprecated.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we might need to update the change log as well, but other than that this change LGTM.
Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
WG approved. |
With KhronosGroup/SYCL-Docs#604 the SYCL specification no longer deprecates legacy multi_ptr. This commit removes the corresponding deprecation warnings from the implementation of the specializations and the enum value. Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
Cherry pick KhronosGroup#604 from main (cherry picked from commit f652da8)
The legacy decoration for multi_ptr has been made the default template argument of the decoration in multi_ptr to bridge the gap between SYCL 1.2.1 and SYCL 2020 multi_ptr interfaces. However, the legacy decoration and the specialization of multi_ptr with the decoration is deprecated with SYCL 2020. This is confusing to users as they may easily run into deprecation warnings simply due to not specifying the decoration. This commit proposes that we remove the deprecation of legacy in SYCL 2020.