diff --git a/sycl/include/sycl/sub_group.hpp b/sycl/include/sycl/sub_group.hpp index 379e0cf953975..a44f42c44f307 100644 --- a/sycl/include/sycl/sub_group.hpp +++ b/sycl/include/sycl/sub_group.hpp @@ -82,7 +82,7 @@ vec load(const multi_ptr src) { using VecT = sycl::detail::ConvertToOpenCLType_t>; VecT Ret = __spirv_SubgroupBlockReadINTEL(convertToBlockPtr(src)); - return sycl::bit_cast::vector_t>(Ret); + return sycl::bit_cast>(Ret); } template