Skip to content

Latest release

Latest

Choose a tag to compare

@tifish tifish released this 20 Aug 08:23

Support command line arguments to test CPU features by script.
For example:

  • Windows
FeatureDetector.exe AMD "Safe to use AVX"
if errorlevel 1 (
    echo AVX not supported
)
  • Linux
./FeatureDetector AMD "Safe to use AVX"
if [ $? -ne 0 ]; then
    echo AVX not supported
fi
  • Output:
AMD = No
Final = No