Skip to content

[SYCL] Fix constexpr initialization of vec for half #8503

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

steffenlarsen
Copy link
Contributor

Vec currently requires that the underlying type has a constexpr default constructor. However, half does not have any guarantees that such a constructor exists. This commit removes this requirement by initializing the underlying data.

Vec currently requires that the underlying type has a constexpr default
constructor. However, half does not have any guarantees that such a
constructor exists. This commit removes this requirement by initializing
the underlying data.

Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
Co-authored-by: Sachkov, Alexey <alexey.sachkov@intel.com>
@steffenlarsen steffenlarsen temporarily deployed to aws March 1, 2023 20:59 — with GitHub Actions Inactive
@steffenlarsen steffenlarsen temporarily deployed to aws March 2, 2023 04:48 — with GitHub Actions Inactive
Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
@steffenlarsen steffenlarsen marked this pull request as ready for review March 3, 2023 12:59
@steffenlarsen steffenlarsen requested a review from a team as a code owner March 3, 2023 12:59
@steffenlarsen steffenlarsen requested a review from againull March 3, 2023 12:59
@steffenlarsen steffenlarsen temporarily deployed to aws March 3, 2023 13:42 — with GitHub Actions Inactive
@steffenlarsen steffenlarsen temporarily deployed to aws March 3, 2023 16:56 — with GitHub Actions Inactive
@steffenlarsen
Copy link
Contributor Author

CUDA Failed Tests (1):
SYCL :: SubGroup/shuffle_fp64.cpp
Reported in #8516 and has since been disabled.

@steffenlarsen steffenlarsen merged commit ba0ea79 into intel:sycl Mar 8, 2023
whitneywhtsang added a commit to whitneywhtsang/llvm that referenced this pull request Mar 11, 2023
whitneywhtsang added a commit to whitneywhtsang/llvm that referenced this pull request Mar 14, 2023
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