https://github.com/openmathlib/openvml
Vector Math Library
https://github.com/openmathlib/openvml
Last synced: about 1 year ago
JSON representation
Vector Math Library
- Host: GitHub
- URL: https://github.com/openmathlib/openvml
- Owner: OpenMathLib
- License: bsd-2-clause
- Created: 2015-01-08T09:06:14.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-12-18T06:49:32.000Z (over 9 years ago)
- Last Synced: 2025-03-23T03:51:12.800Z (over 1 year ago)
- Language: C
- Size: 180 KB
- Stars: 78
- Watchers: 12
- Forks: 29
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenVML
[](https://gitter.im/xianyi/OpenVML?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
Travis CI:[](https://travis-ci.org/xianyi/OpenVML)
AppVeyor:[](https://ci.appveyor.com/project/xianyi/openvml)
OpenVML is an open soruce vector math library.
## Support Processors and OS
* 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)
## Compile
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.
## Test
* 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`.
## Status
Ongoing work