168 Kokkos::View<int *, Kokkos::HostSpace> indices(
"indices", 0);
170 Kokkos::View<int *, Kokkos::HostSpace> offset(
"offset", 0);
172 bvh, Kokkos::DefaultHostExecutionSpace{}, queries, indices, offset);
173 std::vector<int> indices_vector;
174 indices_vector.insert(indices_vector.begin(),
176 indices.data() + indices.extent(0));
177 std::vector<int> offset_vector;
178 offset_vector.insert(offset_vector.begin(),
180 offset.data() + offset.extent(0));
182 return {indices_vector, offset_vector};