Skip to content

Commit

Permalink
testing knn
Browse files Browse the repository at this point in the history
  • Loading branch information
adarshyoga committed Apr 20, 2024
1 parent 6eaba8b commit 386aeba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 386aeba

Please sign in to comment.