@@ -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