35
35
#include " kernels/sorting/searchsorted.hpp"
36
36
#include " utils/memory_overlap.hpp"
37
37
#include " utils/output_validation.hpp"
38
+ #include " utils/rich_comparisons.hpp"
38
39
#include " utils/sycl_alloc_utils.hpp"
39
40
#include " utils/type_dispatch.hpp"
40
41
#include " utils/type_utils.hpp"
41
42
42
- #include " rich_comparisons.hpp"
43
43
#include " simplify_iteration_space.hpp"
44
44
45
45
namespace py = pybind11;
@@ -76,6 +76,7 @@ struct LeftSideSearchSortedContigFactory
76
76
{
77
77
static constexpr bool left_side_search (true );
78
78
using dpctl::tensor::kernels::searchsorted_contig_impl;
79
+ using dpctl::tensor::rich_comparisons::AscendingSorter;
79
80
80
81
using Compare = typename AscendingSorter<argTy>::type;
81
82
@@ -99,7 +100,9 @@ struct RightSideSearchSortedContigFactory
99
100
std::is_same_v<indTy, std::int64_t >)
100
101
{
101
102
static constexpr bool right_side_search (false );
103
+
102
104
using dpctl::tensor::kernels::searchsorted_contig_impl;
105
+ using dpctl::tensor::rich_comparisons::AscendingSorter;
103
106
104
107
using Compare = typename AscendingSorter<argTy>::type;
105
108
@@ -132,6 +135,7 @@ struct LeftSideSearchSortedStridedFactory
132
135
{
133
136
static constexpr bool left_side_search (true );
134
137
using dpctl::tensor::kernels::searchsorted_strided_impl;
138
+ using dpctl::tensor::rich_comparisons::AscendingSorter;
135
139
136
140
using Compare = typename AscendingSorter<argTy>::type;
137
141
@@ -156,6 +160,7 @@ struct RightSideSearchSortedStridedFactory
156
160
{
157
161
static constexpr bool right_side_search (false );
158
162
using dpctl::tensor::kernels::searchsorted_strided_impl;
163
+ using dpctl::tensor::rich_comparisons::AscendingSorter;
159
164
160
165
using Compare = typename AscendingSorter<argTy>::type;
161
166
0 commit comments