Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion bindings/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ set(SVS_RUNTIME_SOURCES
src/IndexSVSFlatImpl.cpp
src/IndexSVSVamanaImpl.cpp
src/training.cpp
src/vamana_index.cpp
src/dynamic_vamana_index.cpp
src/flat_index.cpp
)
Expand Down Expand Up @@ -114,7 +115,7 @@ if ((SVS_RUNTIME_ENABLE_LVQ_LEANVEC))
else()
# Links to LTO-enabled static library, requires GCC/G++ 11.2
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "11.2" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS "11.3")
set(SVS_URL "https://github.com/intel/ScalableVectorSearch/releases/download/v1.0.0-dev/svs-shared-library-1.0.0-NIGHTLY-20251106-762.tar.gz"
set(SVS_URL "https://github.com/intel/ScalableVectorSearch/releases/download/v1.0.0-dev/svs-shared-library-1.0.0-NIGHTLY-20251106-766.tar.gz"
CACHE STRING "URL to download SVS shared library")
else()
message(WARNING
Expand Down
3 changes: 0 additions & 3 deletions bindings/cpp/src/dynamic_vamana_index.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,6 @@ using DynamicVamanaIndexLeanVecImplManager =

} // namespace

// VamanaIndex interface implementation
VamanaIndex::~VamanaIndex() = default;

// DynamicVamanaIndex interface implementation
Status DynamicVamanaIndex::build(
DynamicVamanaIndex** index,
Expand Down
7 changes: 7 additions & 0 deletions bindings/cpp/src/training.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
namespace svs {
namespace runtime {

LeanVecTrainingData::~LeanVecTrainingData() = default;

Status LeanVecTrainingData::build(
LeanVecTrainingData** training_data,
size_t dim,
Expand All @@ -43,6 +45,11 @@ Status LeanVecTrainingData::destroy(LeanVecTrainingData* training_data) noexcept
SVS_RUNTIME_TRY_END
}

Status LeanVecTrainingData::save(std::ostream& /*out*/) const noexcept {
// providing an implementation of a virtual function to anchor vtable
return {ErrorCode::NOT_IMPLEMENTED, "Not implemented"};
}

Status
LeanVecTrainingData::load(LeanVecTrainingData** training_data, std::istream& in) noexcept {
SVS_RUNTIME_TRY_BEGIN
Expand Down
25 changes: 25 additions & 0 deletions bindings/cpp/src/vamana_index.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
* Copyright 2025 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#include "vamana_index.h"

namespace svs {
namespace runtime {

VamanaIndex::~VamanaIndex() = default;

}
} // namespace svs
Loading