问题
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