Skip to content

Commit 2945b53

Browse files
committed
Needs to pass a size of sample (no histogram) into bincount callback
1 parent c41d728 commit 2945b53

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

dpnp/backend/extensions/statistics/bincount.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,8 @@ std::tuple<sycl::event, sycl::event> Bincount::call(
185185
void *weights_ptr =
186186
weights.has_value() ? weights.value().get_data() : nullptr;
187187

188-
auto ev =
189-
bincount_func(exec_q, sample.get_data(), min, max, weights_ptr,
190-
histogram.get_data(), histogram.get_size(), depends);
188+
auto ev = bincount_func(exec_q, sample.get_data(), min, max, weights_ptr,
189+
histogram.get_data(), sample.get_size(), depends);
191190

192191
sycl::event args_ev;
193192
if (weights.has_value()) {

0 commit comments

Comments
 (0)