良好的便携SIMD库 [英] Good portable SIMD library

查看:366
本文介绍了良好的便携SIMD库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以推荐提供c / c ++ API的便携式SIMD库,适用于Intel和AMD扩展以及Visual Studio,GCC兼容。我想加速的事情,如缩放512x512双打数组。矢量点积,矩阵乘法等。

can anyone recommend portable SIMD library that provides a c/c++ API, works on Intel and AMD extensions and Visual Studio, GCC compatible. I'm looking to speed up things like scaling a 512x512 array of doubles. Vector dot products, matrix multiplication etc.

到目前为止,我发现的唯一一个是:
http://simdx86.sourceforge.net/ ,但因为第一页说它不在visual studio上编译。

So far the only one I found is: http://simdx86.sourceforge.net/ but as the very first page says it doesn't compile on visual studio.

还有英特尔IPP不工作在AMD从我收集。有AMD的Framewave,但我有一些问题编译和链接他们的图书馆,他们的论坛完全死了。任何人设法在任何地方使用Framewave?

There's also Intel IPP which doesn't work on AMD from what I gather. And there's Framewave from AMD, but I was having some problems compiling and linking their library and their forums are completely dead. Anyone managed to use Framewave anywhere?

感谢。

推荐答案

您提及对矩阵和向量的高级操作, ATLAS Intel的MKL PLASMA FLAME <

Since you mention high-level operations on matrices and vectors, ATLAS, Intel's MKL, PLASMA, and FLAME may be of interest.

一些C ++矩阵数学库包括来自Boost,Armadillo,Eigen,IT ++和Newmat的uBLAS。 POOMA库也可能包括这些东西。 此问题也指MTL。

Some C++ matrix math libraries include uBLAS from Boost, Armadillo, Eigen, IT++, and Newmat. The POOMA library probably also includes some of these things. This question also refers to MTL.

如果你正在寻找低级可移植性原语,我的一个同事开发了一个关于SSE2,Altivec,VSX,Larrabee和Cell SPE矢量操作的包装器。您可以在我们的源代码库,但是如果您想将其作为您工作的一部分分发,其许可(学术)可能不适合。它还处于重大发展阶段,以满足其所针对的应用需求。

If you're looking for lower-level portability primitives, a colleague of mine has developed a wrapper around SSE2, Altivec, VSX, Larrabee, and Cell SPE vector operations. It can be found in our source repository, but its licensing (academic) may not be appropriate if you want to distribute it as part of your work. It is also still under significant development to cover the range of application needs that it's targeted at.

这篇关于良好的便携SIMD库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆