We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 723a873 commit 6143e55Copy full SHA for 6143e55
sycl/include/sycl/ext/intel/esimd/detail/elem_type_traits.hpp
@@ -582,7 +582,7 @@ class WrapperElementTypeProxy {
582
template <class T = sycl::half>
583
static inline T bitcast_to_half(__raw_t<T> Bits) {
584
#ifndef __SYCL_DEVICE_ONLY__
585
- return sycl::half{Bits};
+ return sycl::half(::sycl::detail::host_half_impl::half_v2(Bits));
586
#else
587
sycl::half Res;
588
Res.Data = Bits;
0 commit comments