Skip to content

Commit d2eb675

Browse files
committed
Fix compilation warnings
1 parent 0684c1f commit d2eb675

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dpnp/backend/extensions/statistics/histogram.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,12 @@ struct HistogramF
139139
auto dispatch_edges = [&](uint32_t local_mem, const auto &weights,
140140
auto &hist) {
141141
if (device.is_gpu() && (local_mem >= bins_count + 1)) {
142-
auto edges = CachedEdges(bins_edges, bins_count + 1, cgh);
142+
auto edges = CachedEdges<BinsT>(bins_edges, bins_count + 1, cgh);
143143
submit_histogram(in, size, dims, WorkPI, hist, edges,
144144
weights, nd_range, cgh);
145145
}
146146
else {
147-
auto edges = UncachedEdges(bins_edges, bins_count + 1, cgh);
147+
auto edges = UncachedEdges<BinsT>(bins_edges, bins_count + 1, cgh);
148148
submit_histogram(in, size, dims, WorkPI, hist, edges,
149149
weights, nd_range, cgh);
150150
}
@@ -165,7 +165,7 @@ struct HistogramF
165165
}
166166
else {
167167
auto hist = HistGlobalMemory<HistType>(out);
168-
auto edges = UncachedEdges(bins_edges, bins_count + 1, cgh);
168+
auto edges = UncachedEdges<BinsT>(bins_edges, bins_count + 1, cgh);
169169
submit_histogram(in, size, dims, WorkPI, hist, edges,
170170
weights, nd_range, cgh);
171171
}

0 commit comments

Comments
 (0)