Xeon Phi Knights Corner intrinsics with GCC

这一生的挚爱 提交于 2019-11-26 23:40:00

问题


I'm thinking of purchasing a Xeon Phi Knights Corner (KNC) coprocessor card. But I don't own an Intel Compiler and I have no interest in purchasing one (and the non-commercial version no longer seems to be an option).

It appears that GCC is getting OpenMP support for the Xeon Phi. Is there some version of GCC or an extension to GCC that supports the KNC intrinsics?

Note that the 512-bit SIMD of the KNC is not compatible withe AVX512 (though the next version Knights Landing will be).


回答1:


You will have to use inline assembly rather than intrinsics to use the MIC vector instructions with GCC.

The Intel non-commercial software program was recently rebooted. See https://software.intel.com/en-us/qualify-for-free-software for details.



来源:https://stackoverflow.com/questions/26933394/xeon-phi-knights-corner-intrinsics-with-gcc

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!