2
我想用SIMD来计算exponential
函数。我发现这个功能:https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_exp_ps&expand=2136我该如何使用SVML指令
我已经在我的代码中包含了"immintrin.h"
,并且我的cpu也有一个SSE
的标志。但gcc
正在抱怨error: ‘_mm_exp_pd’ was not declared in this scope
如何检查SVML指令是否已启用?
在安装了英特尔OpenCL SDK运行时的系统上搜索svml时,出现了一些svml dll。我的猜测是,英特尔OpenCL使用SVML,即您可以通过OpenCL直接获取SVML。 –
我还会提到[Agner Fog's Library - Vector Class Library(VCL)](http://www.agner.org/optimize/)。 – Royi