forked from opensearch-project/k-NN
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update faiss commit and resolve conflict (opensearch-project#1443)
Signed-off-by: Heemin Kim <[email protected]>
- Loading branch information
Showing
20 changed files
with
1,041 additions
and
1,083 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule faiss
updated
38 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// SPDX-License-Identifier: Apache-2.0 | ||
// | ||
// The OpenSearch Contributors require contributions made to | ||
// this file be licensed under the Apache-2.0 license or a | ||
// compatible open source license. | ||
// | ||
// Modifications Copyright OpenSearch Contributors. See | ||
// GitHub history for details. | ||
|
||
/** | ||
* This file contains util methods which are free of JNI to be used in faiss_wrapper.cpp | ||
*/ | ||
|
||
#ifndef OPENSEARCH_KNN_FAISS_UTIL_H | ||
#define OPENSEARCH_KNN_FAISS_UTIL_H | ||
|
||
#include "faiss/impl/IDGrouper.h" | ||
#include <memory> | ||
|
||
namespace faiss_util { | ||
std::unique_ptr<faiss::IDGrouperBitmap> buildIDGrouperBitmap(int *parentIdsArray, int parentIdsLength, std::vector<uint64_t>* bitmap); | ||
}; | ||
|
||
|
||
#endif //OPENSEARCH_KNN_FAISS_UTIL_H |
69 changes: 0 additions & 69 deletions
69
jni/include/knn_extension/faiss/MultiVectorResultCollector.h
This file was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
jni/include/knn_extension/faiss/MultiVectorResultCollectorFactory.h
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.