-
Notifications
You must be signed in to change notification settings - Fork 787
[SYCL] Refactor builtins implementation #11956
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
5f20b88
to
cc59cc6
Compare
cc59cc6
to
a06dc4f
Compare
77dffe7
to
cf277dc
Compare
cf277dc
to
4670849
Compare
74457c9
to
7ca0f9c
Compare
80adc97
to
862165f
Compare
5f40d5f
to
41ec914
Compare
41ec914
to
388fd2c
Compare
@AlexeySachkov , @sergey-semenov , ping x3. |
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.
Sorry about the late response. I don't have any objections on the overall approach, just some very minor comments from me.
Jenkins/RHEL build failure is caused by the usage of outdated RHEL7.8 image + gcc 7.5.0 toolchain where |
Not used after intel#11956.
Not used after #11956.
This regressed after intel#11956 as return type wasn't correctly converted from SPIR-V intrinsic back to SYCL types. This PR fixes that. In addition, I'm also adding tests for `sycl::select` builtin that was left unaffected only because we couldn't use SPIR-V intrinsic for its implementation.
This regressed after #11956 as return type wasn't correctly converted from SPIR-V intrinsic back to SYCL types. This PR fixes that. In addition, I'm also adding tests for `sycl::select` builtin that was left unaffected only because we couldn't use SPIR-V intrinsic for its implementation.
See
builtins_preview.hpp
for the outline of the new design. This PRchanges the implementation under
-fpreview-breaking-changes
andremoves reliance on a python builtins generator script.
Suggested reading/review order:
builtins_preview.hpp
,helper_macros.hpp
,host_helper_macros.hpp
, then headers implementing user-visible side withthe library implementation
sycl/source/builtins/*_functions.cpp
last.