Skip to content
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

Is it possible to use on a machine without AVX2? #177

Open
kevingnet opened this issue Sep 23, 2016 · 2 comments
Open

Is it possible to use on a machine without AVX2? #177

kevingnet opened this issue Sep 23, 2016 · 2 comments

Comments

@kevingnet
Copy link

This may have already been explained in the doc, however I was unable to find any information.

I'm trying to use the library in a Xeon processor which is not the latest and does not have AVX2. Is this supported?

Thanks.

@kevingnet
Copy link
Author

Seems I was able to compile it. For some reason this didn't work before. I think I had an older version.

So it seems that when AVX2 is not available it will use SIMD2? Can it use AVX?

@jack-pappas
Copy link
Contributor

Yes, you can use c-blosc on any x86 processor. The library includes hardware feature detection, so although it may have SSE2 and AVX2 support compiled in, the library will automatically choose the best shuffle implementation supported by the hardware it's running on. The "generic" implementation doesn't use any vectorization so should (at least in theory, if not in practice) run on any x86 processor.

c-blosc doesn't support AVX, only SSE2 and AVX2 (for x86 platforms). AVX doesn't have any instructions that'd be useful for c-blosc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants