PintS
0.1
Portable Intrinsics for SIMD
|
Portable intrinsics for SIMD
Doxygen documentation: http://lemaitre-thesis.github.io/pints/
PintS is an abstraction library to write SIMD code. It is fully compatible with both C and C++ and it is a header only library.
The main goal is to provide a library to have the same code on multiple SIMD architecture or even without SIMD.
The library consists in definitions of the functions for non SIMD architectures, and specialization of some of them for SIMD architectures. These specializations are done by undefining the previous macro (which can be an alias to a function) and redefining it for the target architecture.
The library is able to detect the target architecture using information given by the compiler and loads automatically the required header files.
You need to copy the folder include
of this repository into your project and include the file pints.h
wherever you want to use it.
This library has only been tested on the following compilers:
However, this library is written with compatibility in mind and should also be compatible with other compilers
For now, the supported architectures are:
It is planned to also support in the future:
It is planned to add the following features to the library:
This project is still in development and might not be stable enough for a production use.