@@ -24,64 +24,65 @@ struct DistributedTreeImpl
2424{
2525 // spatial queries
2626 template <typename DistributedTree, typename ExecutionSpace,
27- typename Predicates, typename Values, typename Offset>
27+ Concepts::Predicates Predicates, typename Values, typename Offset>
2828 static std::enable_if_t <Kokkos::is_view_v<Values> &&
2929 Kokkos::is_view_v<Offset>>
3030 queryDispatch (SpatialPredicateTag, DistributedTree const &tree,
3131 ExecutionSpace const &space, Predicates const &queries,
3232 Values &values, Offset &offset);
3333
3434 template <typename DistributedTree, typename ExecutionSpace,
35- typename Predicates, typename OutputView, typename OffsetView ,
36- typename Callback>
35+ Concepts::Predicates Predicates, typename OutputView,
36+ typename OffsetView, typename Callback>
3737 static std::enable_if_t <Kokkos::is_view_v<OutputView> &&
3838 Kokkos::is_view_v<OffsetView>>
3939 queryDispatch (SpatialPredicateTag, DistributedTree const &tree,
4040 ExecutionSpace const &space, Predicates const &queries,
4141 Callback const &callback, OutputView &out, OffsetView &offset);
4242
4343 template <typename DistributedTree, typename ExecutionSpace,
44- typename Predicates, typename Callback>
44+ Concepts::Predicates Predicates, typename Callback>
4545 static void queryDispatch (SpatialPredicateTag, DistributedTree const &tree,
4646 ExecutionSpace const &space,
4747 Predicates const &predicates,
4848 Callback const &callback);
4949
5050 // nearest neighbors queries
5151 template <typename DistributedTree, typename ExecutionSpace,
52- typename Predicates, typename Callback, typename Indices ,
53- typename Offset>
52+ Concepts::Predicates Predicates, typename Callback,
53+ typename Indices, typename Offset>
5454 static void
5555 queryDispatch2RoundImpl (NearestPredicateTag, DistributedTree const &tree,
5656 ExecutionSpace const &space,
5757 Predicates const &queries, Callback const &callback,
5858 Indices &indices, Offset &offset);
5959
6060 template <typename DistributedTree, typename ExecutionSpace,
61- typename Predicates, typename Values, typename Offset>
61+ Concepts::Predicates Predicates, typename Values, typename Offset>
6262 static std::enable_if_t <Kokkos::is_view_v<Values> &&
6363 Kokkos::is_view_v<Offset>>
6464 queryDispatch (NearestPredicateTag tag, DistributedTree const &tree,
6565 ExecutionSpace const &space, Predicates const &queries,
6666 Values &values, Offset &offset);
67- template <typename Tree, typename ExecutionSpace, typename Predicates,
68- typename Callback, typename Values, typename Offset>
67+ template <typename Tree, typename ExecutionSpace,
68+ Concepts::Predicates Predicates, typename Callback, typename Values,
69+ typename Offset>
6970 static std::enable_if_t <Kokkos::is_view_v<Values> &&
7071 Kokkos::is_view_v<Offset>>
7172 queryDispatch (NearestPredicateTag, Tree const &tree,
7273 ExecutionSpace const &space, Predicates const &predicates,
7374 Callback const &callback, Values &values, Offset &offset);
7475
7576 // nearest neighbors helpers
76- template <typename ExecutionSpace, typename Tree, typename Predicates,
77- typename Distances>
77+ template <typename ExecutionSpace, typename Tree,
78+ Concepts::Predicates Predicates, typename Distances>
7879 static void phaseI (ExecutionSpace const &space, Tree const &tree,
7980 Predicates const &predicates,
8081 Distances &farthest_distances);
8182
82- template <typename ExecutionSpace, typename Tree, typename Predicates,
83- typename Callback , typename Distances, typename Offset ,
84- typename Values>
83+ template <typename ExecutionSpace, typename Tree,
84+ Concepts::Predicates Predicates , typename Callback ,
85+ typename Distances, typename Offset, typename Values>
8586 static void phaseII (ExecutionSpace const &space, Tree const &tree,
8687 Predicates const &predicates, Callback const &callback,
8788 Distances &distances, Offset &offset, Values &values);
0 commit comments