-
Notifications
You must be signed in to change notification settings - Fork 43
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
bugfix: Treemap.andnot would not include items with no container on rhs #126
Conversation
e3d1754
to
8a3ed02
Compare
Weird CI error. Any thoughts @Dr-Emann? I do not have access to a Windows machine to verify this. |
Hmm. It's not reproducing on my windows machine.. |
I tempted to call this an intermittent issue with Github runners. I think we're good to go 👍 |
@lemire any thoughts on this, windows is failing seemingly consistently (this PR, several builds of #125) failing in CI with an illegal instruction on windows, running
It doesn't reproduce on my personal windows machine, not sure where to look here. Only thought is some simd thing, could we be somehow getting SIMD instructions the cpu doesn't actually support? The build and run take place on the same machine.. |
That's not necessarily relevant because we use runtime dispatching. So we will build AVX-512 support even if the local machine does not support AVX-512. Same with AVX. To make things more complicated, even if your CPU supports AVX-512 or AVX, the OS can disable support. To help debugging, I recommend exposing
So 3 would indicate AVX-512 and AVX2. Printing this out could be useful information (whether you need it for this issue or not). You could also try to build with |
An obvious issue is that this should cause problems with CRoaring itself. It seems that it does not (our CI is green). Why would Rust cause a different behaviour under Windows? It should not matter, right? I expect that you are building the C code, and then the Rust code just interfaces with it. So what is up? Intriguing. |
In case anyone else is following, see answers/further investegation in #128, and I believe RoaringBitmap/CRoaring#573 |
And add a test which validates the expected behavior. This also found a doc test which was accidentally incorrect.