OpenVML is an open soruce vector math library.
-
Generic platform
- C and unoptimized codes
-
OS
- Linux
- Mac OSX
- Windows (Visual Studio or MinGW)
-
x86_64
- Intel Sandy Bridge
- Intel Haswell
-
ARM
- ARMv7 (Cortex-A9, Cortex-A15)
You need (CMake)[www.cmake.org] on your platform.
- Linux or Mac OSX:
mkdir /your/build
cd /your/build
cmake /path/to/OpenVML
make
make install
- Visual Studio
- Need MS Visual Studio 2013 and above.
- Use cmake or cmake-gui to generate Visual Studio solution files.
- Use Visual Studio to open the solution and build.
-
Check the result and Performance
Run
/your/build/test/run_vml_test
. For exmaple,./run_vml_test # Run all test ./run_vml_test -r check_result_s # Only run single precision functions. ./run_vml_test -r check_result_s add # Only run single precision add function (vsAdd). ./run_vml_test -n 1 10 2 # The input sizes are from 1 to 10, step 2.
-
Misc test
Run
/your/build/test/misc_test
.
Ongoing work