-
Notifications
You must be signed in to change notification settings - Fork 674
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
cpu_x86.h dependency for runtime instruction set checks with MSVC #405
Comments
Hi @alxvth, I am do not think it requires external dependencies and the windows build tests pass. |
Yes, for me it does not build on Windows with a MSVC compiler since that compiler does not know any Have a look at this godbolt example. I think this problem does not show in the CI since MSVC does not set |
I just noticed that not all I wrote above made too much sense, I somehow overlooked the
I guess then the build test on windows also run into the |
Thank you! Will take a look at the PR! |
Fixed with 1f49ffe |
Does the runtime check for SSE and AVX with MSVC at
hnswlib/hnswlib/hnswlib.h
Line 18 in 443d667
currently require to use Mysticial/FeatureDetector?
If that is intentional, it would be good to mention that somewhere but otherwise it'd be nicer to not have that dependency and just go with
The text was updated successfully, but these errors were encountered: