A general purpose library designed to run on next-generation hardware such as MICs and GPUs