-
Notifications
You must be signed in to change notification settings - Fork 409
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compute: Use SimSIMD for vectors (#221)
Signed-off-by: Wish <[email protected]>
- Loading branch information
1 parent
86629a5
commit 9a9daf8
Showing
12 changed files
with
47 additions
and
2,300 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
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,13 @@ | ||
set(SIMSIMD_PROJECT_DIR "${TiFlash_SOURCE_DIR}/contrib/simsimd") | ||
set(SIMSIMD_SOURCE_DIR "${SIMSIMD_PROJECT_DIR}/include") | ||
|
||
add_library(_simsimd INTERFACE) | ||
|
||
if (NOT EXISTS "${SIMSIMD_SOURCE_DIR}/simsimd/simsimd.h") | ||
message (FATAL_ERROR "submodule contrib/simsimd not found") | ||
endif() | ||
|
||
target_include_directories(_simsimd SYSTEM INTERFACE | ||
${SIMSIMD_SOURCE_DIR}) | ||
|
||
add_library(tiflash_contrib::simsimd ALIAS _simsimd) |
Submodule usearch
updated
94 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
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
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
Oops, something went wrong.