-
Notifications
You must be signed in to change notification settings - Fork 792
[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
Conversation
…shi25/llvm into device_image_backend_content
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.
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.
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.
LGTM!
@intel/llvm-gatekeepers This looks ready for merge. |
#ifdef __cpp_lib_span | ||
// expected-error@+1 {{no matching member function for call to 'ext_oneapi_get_backend_content_view'}} |
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.
This is misleading - there will be no error "emitted" as clang will complain if __cpp_lib_span
isn't defined.
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.
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 |
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.
We had some complains from Codeplay developers about such tests.
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.
Can you point me to a thread where I can have a look at the concerns?
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 don't have a link, try searching through git log with changes containing -std=++20
is failing (https://github.com/intel/llvm/actions/runs/13187415776) after this PR in post-commit. @lbushi25 , please address. |
Looking into it. |
PR to add the XFAIL: #16916 |
Implement sycl_ext_oneapi_device_image_backend_content.