Skip to content

[SYCL][ABI-break] Remove legacy get member function from event #6570

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

Merged
merged 4 commits into from
Aug 16, 2022

Conversation

steffenlarsen
Copy link
Contributor

SYCL 1.2.1 had a get member function on select classes for getting the underlying OpenCL object. With SYCL 2020 those were removed and replaced with a more general API. This commit removes the get member function from the sycl::event class.

SYCL 1.2.1 had a get member function on select classes for getting the
underlying OpenCL object. With SYCL 2020 those were removed and replaced
with a more general API. This commit removes the get member function
from the sycl::event class.

Signed-off-by: Larsen, Steffen <[email protected]>
@steffenlarsen steffenlarsen requested a review from a team as a code owner August 11, 2022 19:13
@steffenlarsen steffenlarsen temporarily deployed to aws August 12, 2022 09:20 Inactive
@steffenlarsen steffenlarsen temporarily deployed to aws August 12, 2022 09:37 Inactive
Copy link
Contributor

@v-klochkov v-klochkov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Just one comment though: shouldn't the field "MOpenCLInterop" be removed from event_impl.hpp ?

Signed-off-by: Larsen, Steffen <[email protected]>
@steffenlarsen
Copy link
Contributor Author

shouldn't the field "MOpenCLInterop" be removed from event_impl.hpp ?

Yes, that was should absolutely be removed! I don't even know how I forgot to do that.

@steffenlarsen
Copy link
Contributor Author

Failures unrelated:

********************
Failed Tests (1):
  SYCL :: XPTI/kernel/content.cpp

********************
Unexpectedly Passed Tests (2):

2 warning(s) in tests
  SYCL :: SubGroup/reduce_spirv13.cpp
  SYCL :: SubGroup/reduce_spirv13_fp64.cpp

@steffenlarsen steffenlarsen merged commit da296ba into intel:sycl Aug 16, 2022
steffenlarsen added a commit to steffenlarsen/llvm-test-suite that referenced this pull request Aug 18, 2022
intel/llvm#6570 removed the OpenCL interop get
member function from sycl::event.
SYCL/DeprecatedFeatures/event_creation_opencl.cpp used the removed
feature and should as such be removed.

Signed-off-by: Larsen, Steffen <[email protected]>
steffenlarsen added a commit to intel/llvm-test-suite that referenced this pull request Aug 18, 2022
intel/llvm#6570 removed the OpenCL interop get
member function from sycl::event.
SYCL/DeprecatedFeatures/event_creation_opencl.cpp used the removed
feature and should as such be removed.

Signed-off-by: Larsen, Steffen <[email protected]>
aelovikov-intel pushed a commit to aelovikov-intel/llvm that referenced this pull request Mar 27, 2023
…llvm-test-suite#1161)

intel#6570 removed the OpenCL interop get
member function from sycl::event.
SYCL/DeprecatedFeatures/event_creation_opencl.cpp used the removed
feature and should as such be removed.

Signed-off-by: Larsen, Steffen <[email protected]>
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.

2 participants