Skip to content
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

[RNG] Add explicit cast to T for operator<< of sycl::vec<T, 1> usage #4396 #512

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

andreyfe1
Copy link
Contributor

@andreyfe1 andreyfe1 commented Jun 13, 2024

Description

Aligning with SYCL Spec (https://registry.khronos.org/SYCL/specs/sycl-2020/html/sycl-2020.html#_vec_interface) carefully. We need to explicitly cast int to underlying type of sycl::vec.
Compilation failure can be seeing after following commit on the Compiler side: intel/llvm@d0a142a

Checklist

All Submissions

  • Do all unit tests pass locally? Attach a (moments.log)
  • Have you formatted the code using clang-format?

@andreyfe1 andreyfe1 merged commit 1988d4e into oneapi-src:develop Jun 14, 2024
6 checks passed
normallytangent pushed a commit to normallytangent/oneMKL that referenced this pull request Aug 6, 2024
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.

3 participants