添加编译选项解决:-mxxx (对应函数的CPUID Flags,如下图 -mavx2)
函数在Intel指令集官网查找:https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html

Intel SMID指令集编译错误: inlining failed in call to always_inline 'xxx': target specific option mismatch xxx
来源:清泛原创 2022-02-17 16:55:06 人气: 我有话说( 0 人参与)
最近在使用CPU指令集优化代码的时候,编译出错,报错如下: usr lib64 gcc x86_64-suse-linux 7 include avx2intrin h:252:1: error: inlining failed in call to always_i
上一篇:【解决】This is allowed only when policy CMP0079 is set to NEW.
下一篇:CPU指令集avx程序无法运行,运行崩溃