-
Notifications
You must be signed in to change notification settings - Fork 787
[NFCI] Refactor sycl::vec
's variadic ctor
#15180
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
[NFCI] Refactor sycl::vec
's variadic ctor
#15180
Conversation
I think previous implementation was based on C++14 or even C++11 standard. We can do better now.
// FIXME: Swizzle's `operator[]` for expression trees seems to be broken | ||
// and returns values of the underlying vector of some of the operands. On | ||
// the other hand, `getValue()` gives correct results. This can be changed | ||
// to using `operator[]` once the bug is fixed. |
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.
That seems to be broken at least as far back as 2024.1: https://godbolt.org/z/9Kz953sfn
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.
Latest changes LGTM
CUDA failure is an infrastructure issue, the change isn't CUDA-specific, merging. |
I think previous implementation was based on C++14 or even C++11 standard. We can do better now.