How to use MIC Intrinsics?

How to use MIC Intrinsics?

Hi,

from the PHI Instruction Set Reference Manual I can see that MIC intrinsics are available.

What I don't know yet is how to use them. Is there a document available which introduces intrinsics for MIC?

Which header file do I have to include? Can I use intrinsics within the offload sections?

Thanks.

Best,
Harnz

6 帖子 / 0 全新
最新文章
如需更全面地了解编译器优化,请参阅优化注意事项

The MIC intrinsics are quite similar to SSE and AVX intrinsics. You should check out zmmintrin.h for the function declarations and some additional info, but to use them, you have to include immintrin.h instead.

For an introduction/overview, refer the online C++ User Guide at: http://software.intel.com/sites/products/documentation/doclib/stdxe/2013... (or the version available under the installed image (installdir)/Documentation/...)

Refer to section: Intrinsics for Intel® Many Integrated Core Architecture (Intel® MIC Architecture)

Covered topics include:
- Overview: Reference for Intrinsics Supporting Intel® Initial Many Core Instructions (Intel® IMCI)
- Details of Intrinsic Functions for Intel® Many Integrated Core Architecture (Intel® MIC Architecture)
- Shuffle Intrinsics
- Vector Intrinsics
- Scalar Intrinsics

The header is immintrin.h and these intrinsics are usable within offload code.

Thank you guys. That solves my questions.

Another question came up: In part 3 of the PHI Optimization Workshop, it is refered to the Xeon PHI Optimization Guide.

Are you talking about this guide:
http://software.intel.com/en-us/articles/optimization-and-performance-tu...

Is there a pdf available as well?

I do not know but my hunch is you are correct. I will find an authoritative answer or have someone post who is more knowledgeable about the video content and the posted optimization guide.

You were correct about the reference to the optimization guide (posted in two parts under the Developer tab at: http://software.intel.com/mic-developer). There is currently a plan for a pdf but no ETA on availability.

发表评论

登录添加评论。还不是成员?立即加入