Closed
Description
Is your feature request related to a problem? Please describe
Related to kokkos/kokkos#4388.
Despite SYCL2020
not constraining sycl::group_broadcast
(https://www.khronos.org/registry/SYCL/specs/sycl-2020/html/sycl-2020.html#_group_broadcast), the oneAPI implementation does, see
llvm/sycl/include/CL/sycl/group_algorithm.hpp
Lines 452 to 499 in f844f70
Describe the solution you would like
Remove the restriction to arithmetic types.
Describe alternatives you have considered
There is a workaround in kokkos/kokkos#4388 that should also work as a general fallback option if a more efficient implementation for non-arithmetic
types cannot be provided.