Skip to content

[SYCL] Implement backend content extension #16633

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 65 commits into from
Feb 6, 2025

Conversation

lbushi25
Copy link
Contributor

@lbushi25 lbushi25 commented Jan 14, 2025

Copy link
Contributor Author

@lbushi25 lbushi25 Jan 17, 2025

Choose a reason for hiding this comment

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

Most of the changes here are unrelated to the symbols I added. I suppose sometime in the past someone has modified this file manually which caused some of the symbols to get out of order.

Copy link
Contributor

@steffenlarsen steffenlarsen left a comment

Choose a reason for hiding this comment

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

LGTM!

@lbushi25
Copy link
Contributor Author

lbushi25 commented Feb 6, 2025

@intel/llvm-gatekeepers This looks ready for merge.

@againull againull merged commit 7e2f297 into intel:sycl Feb 6, 2025
16 checks passed
Comment on lines +22 to +23
#ifdef __cpp_lib_span
// expected-error@+1 {{no matching member function for call to 'ext_oneapi_get_backend_content_view'}}
Copy link
Contributor

Choose a reason for hiding this comment

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

This is misleading - there will be no error "emitted" as clang will complain if __cpp_lib_span isn't defined.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, this is both misleading and redundant as assuming we are using c++20, the macro should be defined.
I'll open a PR soon to remove.

@@ -0,0 +1,50 @@
// RUN: %{build} -std=c++20 -o %t.out
Copy link
Contributor

Choose a reason for hiding this comment

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

We had some complains from Codeplay developers about such tests.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can you point me to a thread where I can have a look at the concerns?

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't have a link, try searching through git log with changes containing -std=++20

@aelovikov-intel
Copy link
Contributor

[e2e-lin (Intel GEN12 Graphics with Level Zero])
Failed Tests (1):
SYCL :: DeviceImageBackendContent/OCL_interop_test.cpp

is failing (https://github.com/intel/llvm/actions/runs/13187415776) after this PR in post-commit. @lbushi25 , please address.

@lbushi25
Copy link
Contributor Author

lbushi25 commented Feb 6, 2025

[e2e-lin (Intel GEN12 Graphics with Level Zero])
Failed Tests (1):
SYCL :: DeviceImageBackendContent/OCL_interop_test.cpp

is failing (https://github.com/intel/llvm/actions/runs/13187415776) after this PR in post-commit. @lbushi25 , please address.

Looking into it.

@lbushi25
Copy link
Contributor Author

lbushi25 commented Feb 7, 2025

[e2e-lin (Intel GEN12 Graphics with Level Zero])
Failed Tests (1):
SYCL :: DeviceImageBackendContent/OCL_interop_test.cpp

is failing (https://github.com/intel/llvm/actions/runs/13187415776) after this PR in post-commit. @lbushi25 , please address.

PR to add the XFAIL: #16916

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.

8 participants