Intel® Fortran Compiler 19.0 Developer Guide and Reference

Writing Target-Specific Code Using a Directive

This topic only applies when targeting Intel® Many Integrated Core Architecture (Intel® MIC Architecture).

This topic is deprecated because it contains information related to Intel® Cilk™ Plus, which is a deprecated feature. The topicwill be removed in a future release.

You can write functions that you intend to run on a target, and sections of offloaded code, to take advantage of target-specific functions.

When the compiler generates code for the coprocessor, it defines a directive specific to the coprocessor architecture, for example __TARGET_ARCH_MIC. You can then write target-specific code within a !DIR$ if defined __TARGET_ARCH_MIC section.

Note

This topic is deprecated because it contains information related to Intel® Cilk™ Plus, which is a deprecated feature. This topic will be removed in a future release.

See Also