From 386aebaa0c004fbbdc983f4a7eb37627dc8c920f Mon Sep 17 00:00:00 2001 From: Adarsh Yoga Date: Sat, 20 Apr 2024 06:14:15 +0000 Subject: [PATCH] testing knn --- .../default/knn/knn_sycl_native_ext/knn_sycl/_knn_kernel.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 3b9d54be..11a84997 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 @@ -106,7 +106,7 @@ sycl::event knn_impl(sycl::queue q, size_t ith_idx = i * classes_num; size_t jth = queue_neighbors[j].label; out << ith_idx << " " << jth << sycl::endl; - d_votes_to_classes[ith_idx + jth] = jth; + //d_votes_to_classes[ith_idx + jth] = jth; //d_votes_to_classes[(i*classes_num) + (queue_neighbors[j].label)] += 1; }