We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5699751 commit a33077bCopy full SHA for a33077b
src/index/gpu_raft/gpu_raft.h
@@ -41,7 +41,7 @@
41
42
namespace knowhere {
43
44
-auto static constexpr cuda_concurrent_size = std::uint32_t{32};
+auto static constexpr cuda_concurrent_size = std::uint32_t{16};
45
46
template <raft_proto::raft_index_kind K>
47
struct KnowhereConfigType {};
@@ -150,11 +150,7 @@ struct GpuRaftIndexNode : public IndexNode {
150
151
bool
152
HasRawData(const std::string& metric_type) const override {
153
- if constexpr (index_kind == raft_proto::raft_index_kind::ivf_flat) {
154
- return !IsMetricType(metric_type, metric::COSINE);
155
- } else {
156
- return false;
157
- }
+ return false;
158
}
159
160
Status
0 commit comments