From c4f1fcae38c54b1933f7a43b8adc500877b60b68 Mon Sep 17 00:00:00 2001 From: Kyle Edwards Date: Wed, 20 Nov 2024 14:47:41 -0500 Subject: [PATCH] kIsSingleSource --- cpp/include/raft/distance/detail/distance_ops/cosine.cuh | 1 + 1 file changed, 1 insertion(+) diff --git a/cpp/include/raft/distance/detail/distance_ops/cosine.cuh b/cpp/include/raft/distance/detail/distance_ops/cosine.cuh index 0883136c9f..71391f3f8d 100644 --- a/cpp/include/raft/distance/detail/distance_ops/cosine.cuh +++ b/cpp/include/raft/distance/detail/distance_ops/cosine.cuh @@ -29,6 +29,7 @@ struct cosine_cutlass_op { return static_cast(1.0) - static_cast(accVal / (aNorm * bNorm)); } __device__ AccT operator()(DataT aData) const noexcept { return aData; } + static const bool kIsSingleSource = false; }; /**