diff --git a/dpbench/benchmarks/default/knn/knn_sycl_native_ext/knn_sycl/_knn_kernel.hpp b/dpbench/benchmarks/default/knn/knn_sycl_native_ext/knn_sycl/_knn_kernel.hpp index 75cccd3b..59a22b6d 100644 --- a/dpbench/benchmarks/default/knn/knn_sycl_native_ext/knn_sycl/_knn_kernel.hpp +++ b/dpbench/benchmarks/default/knn/knn_sycl_native_ext/knn_sycl/_knn_kernel.hpp @@ -100,7 +100,9 @@ sycl::event knn_impl(sycl::queue q, // simple vote for (size_t j = 0; j < k; ++j) { - d_votes_to_classes[(i*classes_num) + (queue_neighbors[j].label)] += 1; + size_t ith_idx = i * classes_num; + //size_t jth = queue_neighbors[j].label; + //d_votes_to_classes[(i*classes_num) + (queue_neighbors[j].label)] += 1; } IntTy max_ind = 0;