-
Notifications
You must be signed in to change notification settings - Fork 730
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] Move SYCL headers from CL/ to sycl/ #6407
Conversation
/verify with intel/llvm-test-suite#1078 |
1 similar comment
/verify with intel/llvm-test-suite#1078 |
a3f9996
to
a85b135
Compare
Also, CL/sycl.hpp -> sycl/sycl.hpp. This change is complementary to intel/llvm#6407.
a85b135
to
04321e7
Compare
/verify with intel/llvm-test-suite#1078 |
04321e7
to
8bea505
Compare
/verify with intel/llvm-test-suite#1078 |
8bea505
to
5e3b22c
Compare
/verify with intel/llvm-test-suite#1078 |
Quoting SYCL 2020: For compatibility with SYCL 1.2.1, SYCL provides another standard header file: <CL/sycl.hpp>, which can be included in place of <sycl/sycl.hpp>. In that case, all SYCL classes, constants, types and functions defined by this specification should exist within the ::cl::sycl C++ namespace.
eb00399
to
256919f
Compare
/verify with intel/llvm-test-suite#1078 |
e6cc0fb
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.
Revert of llvm-spirv changes looks good to me. Let's consider that all approves are still in place.
If @intel/dpcpp-specification-reviewers team approves, we can merge this PR.
/verify with intel/llvm-test-suite#1078 |
@intel/dpcpp-specification-reviewers , can you please take a look at the relevant part of this? |
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.
llvm-SPIRV changes LGTM. Thanks
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
3cbd819
/verify with intel/llvm-test-suite#1078 |
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. Thanks
* use the correct sycl path after intel/llvm#6407 * fix the missing sycl/sycl.hpp
CL/sycl.hpp
is changed to includesycl/sycl.hpp
.No deprecation warning emitted as the header is required by the SYCL 2020
for backward compatibility.