Skip to content

Commit

Permalink
pairwise_distance_base: Fix typo
Browse files Browse the repository at this point in the history
This results in subtle issues with non-square KernelPolicy, as found in
fusedL2KNN.
  • Loading branch information
ahendriksen committed Oct 5, 2022
1 parent b5aef79 commit 9029eed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/include/raft/distance/detail/pairwise_distance_base.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ struct PairwiseDistances : public BaseClass {
epilog_op(_epilog_op),
fin_op(_fin_op),
rowEpilog_op(_rowEpilog_op),
grid_stride_m(P::Nblk * gridDim.y),
grid_stride_n(P::Mblk * gridDim.x),
grid_stride_m(P::Mblk * gridDim.y),
grid_stride_n(P::Nblk * gridDim.x),
grid_offset_m(P::Mblk * blockIdx.y),
grid_offset_n(P::Nblk * blockIdx.x)
{
Expand Down

0 comments on commit 9029eed

Please sign in to comment.