Skip to content

[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

Merged

Conversation

aelovikov-intel
Copy link
Contributor

I think previous implementation was based on C++14 or even C++11 standard. We can do better now.

I think previous implementation was based on C++14 or even C++11
standard. We can do better now.
Comment on lines +192 to +195
// 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.
Copy link
Contributor Author

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

Copy link
Contributor

@uditagarwal97 uditagarwal97 left a comment

Choose a reason for hiding this comment

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

Latest changes LGTM

@aelovikov-intel
Copy link
Contributor Author

CUDA failure is an infrastructure issue, the change isn't CUDA-specific, merging.

@aelovikov-intel aelovikov-intel merged commit e8fcff1 into intel:sycl Aug 23, 2024
12 of 13 checks passed
@aelovikov-intel aelovikov-intel deleted the refactor-vec-variadic-ctor branch August 23, 2024 17:55
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.

2 participants