-
Notifications
You must be signed in to change notification settings - Fork 34
feature: add vesrion namespace test #217
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
base: rfsaliev/cpp-runtime-binding
Are you sure you want to change the base?
feature: add vesrion namespace test #217
Conversation
…allow non-LTO linking
…el/ScalableVectorSearch into rfsaliev/cpp-runtime-binding
…el/ScalableVectorSearch into rfsaliev/cpp-runtime-binding
…el/ScalableVectorSearch into rfsaliev/cpp-runtime-binding
…ntel/ScalableVectorSearch into feature_test_vesrion_namespace
5cb9050 to
f2680de
Compare
9df4e53 to
ee0168d
Compare
ahuber21
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.
Sorry, forgot to submit. Could you rebase the branch first, then we can discuss the details.
|
|
||
| CATCH_SECTION("Version string") { | ||
| // Verify version string is accessible | ||
| CATCH_REQUIRE(svs_runtime::VersionInfo::get_version() != nullptr); |
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.
What about checking the values?
| #endif | ||
|
|
||
| // Create namespace alias (FAISS integration pattern) | ||
| SVS_RUNTIME_CREATE_API_ALIAS(svs_runtime, FAISS_SVS_RUNTIME_VERSION); |
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.
We can pick a more generic name here
| SVS_RUNTIME_CREATE_API_ALIAS(svs_runtime, FAISS_SVS_RUNTIME_VERSION); | |
| SVS_RUNTIME_CREATE_API_ALIAS(svs_runtime, RUNTIME_API_VERSION); |
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.
Maybe also add a test that uses anything beyond version info from the runtime, like svs_runtime::VamanaIndex?
add simple version namespace usecase, also added in ci to run this c++ test
orig version namespace commit
a551e9ba8bc232abf4ac5e11e01a85b9b403e6e2
bcd7cb3