Skip to content

Commit

Permalink
Fix bit_cast for SYCL again
Browse files Browse the repository at this point in the history
  • Loading branch information
masterleinad committed May 16, 2023
1 parent 4197fa8 commit cbc7e88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/Kokkos_BitManipulation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ namespace Kokkos {
// FIXME_SYCL intel/llvm has unqualified calls to bit_cast which are ambiguous
// if we declare our own bit_cast function
#ifdef KOKKOS_ENABLE_SYCL
using sycl::bit_cast;
using sycl::detail::bit_cast;
#else
template <class To, class From>
KOKKOS_FUNCTION std::enable_if_t<sizeof(To) == sizeof(From) &&
Expand Down

0 comments on commit cbc7e88

Please sign in to comment.