steinwurf / cpuid

C++ library for detecting CPU capabilities
https://cpuid.steinwurf.com
Other
104 stars 20 forks source link

AVX checking #23

Open ilya-lavrenov opened 9 years ago

ilya-lavrenov commented 9 years ago

I believe we also should check whether OS itself supports AVX, because OS must provide context switching for YMM registers and not all OS can do this. See the section "Operating system support" in http://en.wikipedia.org/wiki/Advanced_Vector_Extensions

RoyiAvital commented 6 years ago

Was that taken care of?

Thank You.

mortenvp commented 6 years ago

@RoyiAvital Unfortunately not yet. We did not experience any problems related to this, but of course it would be great to fix. Would be happy to accept a pull-request. You can see a list of operating systems that we currently test on (where this is not an issue): http://buildbot.steinwurf.com/ (see the bottom of the page)

RoyiAvital commented 6 years ago

Is there a way to use it as Headers Library?

Namely link h file and have the functions?

mortenvp commented 6 years ago

We currently do not support header only use of the library (please use a new issue to raise additional questions - not relevant to the current issue)