cpu detection
Cyrille Berger
cberger at cberger.net
Mon Oct 29 11:44:34 UTC 2012
On 2012-10-29 09:28, Boudewijn Rempt wrote:
> I'm not sure whether there's already something suitably
> cross-platform in solid, but Rami Radi from Intel pointed me at
> http://libcpuid.sourceforge.net/documentation.html -- we could use
> that to make sure that binaries compiled with avx support don't crash
> on non-avx systems but use the fallback.
If all you want to check is instruction sets, solid in kdelibs should
be enough:
http://api.kde.org/4.x-api/kdelibs-apidocs/tier1/solid/html/classSolid_1_1Processor.html
--
Cyrille Berger Skott
More information about the kimageshop
mailing list