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 7971b12 commit d16994c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ sycl::event knn_impl(sycl::queue q,
for (size_t j = 0; j < k; ++j) {
size_t ith_idx = i * classes_num;
size_t jth = queue_neighbors[j].label;
val = d_votes_to_classes[ith_idx + 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 d16994c

Please sign in to comment.