diff --git a/src/details/ArborX_DetailsTreeTraversal.hpp b/src/details/ArborX_DetailsTreeTraversal.hpp index c94c2c5cb..1b48a3697 100644 --- a/src/details/ArborX_DetailsTreeTraversal.hpp +++ b/src/details/ArborX_DetailsTreeTraversal.hpp @@ -62,10 +62,14 @@ struct TreeTraversal } else { - Kokkos::parallel_for("ArborX::TreeTraversal::spatial", - Kokkos::RangePolicy( - space, 0, Access::size(predicates)), - *this); + Kokkos::RangePolicy policy(space, 0, + Access::size(predicates)); + // FIXME_SYCL +#ifdef KOKKOS_ENABLE_SYCL + if constexpr (std::is_same_v) + policy.set_chunk_size(1024); +#endif + Kokkos::parallel_for("ArborX::TreeTraversal::spatial", policy, *this); } }