Skip to content

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

Merged
andreyfe1 merged 1 commit intouxlfoundation:developfrom
andreyfe1:mcg59_cast
Jun 14, 2024
Merged

[RNG] Add explicit cast to T for operator<< of sycl::vec<T, 1> usage #4396#512
andreyfe1 merged 1 commit intouxlfoundation:developfrom
andreyfe1:mcg59_cast

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 uxlfoundation:develop Jun 14, 2024
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