-
Notifications
You must be signed in to change notification settings - Fork 35
Add the usage example and test for shared library #110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add the usage example and test for shared library #110
Conversation
examples/cpp/shared/CMakeLists.txt
Outdated
| @@ -0,0 +1,39 @@ | |||
| # Copyright 2023 Intel Corporation | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| # Copyright 2023 Intel Corporation | |
| # Copyright 2025 Intel Corporation |
ethanglaser
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Let's confirm everything runs smoothly when its in the final state.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not necessarily within the scope of this PR, but this utils and svsmain functionality are defined in as many as 5 different places in codebase, might be worth defining this in a single utils file to reduce duplication at some point.
examples/cpp/shared/shared.cpp
Outdated
|
|
||
| const std::filesystem::path& config_path = "./config"; | ||
| const std::filesystem::path& graph_path = "./graph"; | ||
| // const std::filesystem::path& data_path = "./data"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove/uncomment before merge
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same for line 115
Co-authored-by: ethanglaser <[email protected]>
Co-authored-by: ethanglaser <[email protected]>
This PR introduces a usage example to demonstrate how to utilize the shared library. The README has been updated to include usage instructions. The example uses shared-library-0.0.8-NIGHTLY-20250520-256-AVX512 for reference.