- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For an introduction/overview, refer the online C++ User Guide at: http://software.intel.com/sites/products/documentation/doclib/stdxe/2013/composerxe/compiler/cpp-lin/index.htm (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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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-tuning-for-intel-xeon-phi-coprocessors-part-1-optimization
Is there a pdf available as well?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page