Intel® C++ Compiler XE 13.1 User and Reference Guides
Builds an application that runs natively on Intel® MIC Architecture. This option only applies to Intel® MIC Architecture.
Windows: None
Linux: Code Generation > Do MIC-only Build
OS X: None
Intel® 64 architecture, targeting Intel® MIC Architecture
Linux: | -mmic |
OS X: | None |
Windows: | None |
None
OFF |
The compiler builds a heterogeneous application. You must specify this option to build an application that runs natively on Intel® MIC Architecture. |
This option enables the cross compiler to build an application that runs natively on Intel® MIC Architecture. It is only available on the command line.
When you use this option, the compiler defines the macro __MIC__.
None
The following option generates the object file a.out, which only runs on Intel® MIC Architecture:
icc -mmic hello.c