169 Kokkos::View<int *, Kokkos::HostSpace> indices(
"indices", 0);
171 Kokkos::View<int *, Kokkos::HostSpace> offset(
"offset", 0);
173 bvh, Kokkos::DefaultHostExecutionSpace{}, queries, indices, offset);
174 std::vector<int> indices_vector;
175 indices_vector.insert(indices_vector.begin(),
177 indices.data() + indices.extent(0));
178 std::vector<int> offset_vector;
179 offset_vector.insert(offset_vector.begin(),
181 offset.data() + offset.extent(0));
183 return {indices_vector, offset_vector};