Skip to content

Commit

Permalink
kIsSingleSource
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleFromNVIDIA committed Nov 20, 2024
1 parent 1a75aad commit c4f1fca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cpp/include/raft/distance/detail/distance_ops/cosine.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ struct cosine_cutlass_op {
return static_cast<AccT>(1.0) - static_cast<AccT>(accVal / (aNorm * bNorm));
}
__device__ AccT operator()(DataT aData) const noexcept { return aData; }
static const bool kIsSingleSource = false;
};

/**
Expand Down

0 comments on commit c4f1fca

Please sign in to comment.