Intel® Fortran Compiler 17.0 Developer Guide and Reference
Lets you specify the target architecture to use when offloading code. This option only applies to Intel® MIC Architecture.
Only available on Intel® 64 architecture targeting Intel® MIC Architecture
Linux: | -qoffload-arch=arch |
macOS: | None |
Windows: | /Qoffload-arch:arch |
arch |
Specifies the target architecture. On Intel® 64 architecture targeting Intel® MIC Architecture, arch can be one of the following:
|
varies |
On Intel® 64 architecture targeting Intel® MIC Architecture, the default arch is assumed to be mic. |
This option lets you specify the target architecture to use when offloading code.
The following are various combinations and settings of command line options for offloading:
Offload: Intel® 64 architecture host and Intel® Xeon Phi™ coprocessor x100 product family (formerly code name Knights Corner) target code generation:
ifort … ! default for Linux ifort … -qoffload-arch=mic ! explicit architecture targeting for Linux ifort … ! default for Windows ifort … /Qoffload-arch=mic ! explicit architecture targeting for Windows
Offload: Intel® 64 architecture host and Intel® Xeon Phi™ product family x200 (formerly code name Knights Landing) target code generation:
ifort … -qoffload-arch=mic-avx512 ! Linux ifort … /Qoffload-arch=mic-avx512 ! Windows
Offload : Intel® Xeon Phi™ product family x200 (formerly code name Knights Landing) host and target code generation (for this host, target defaults to Intel® Xeon Phi™ product family x200 (formerly code name Knights Landing)):
ifort … -xmic-avx512 ! Linux ifort … /Qxmic-avx512 ! Windows
Native : Code Generation for Intel® Xeon Phi™ coprocessor x100 product family (formerly code name Knights Corner):
ifort … -mmic ! Linux ifort … /Qmic ! Windows
Native : Code Generation for Intel® Xeon Phi™ product family x200 (formerly code name Knights Landing):
ifort … -xmic-avx512 –qno-offload ! Linux ifort … /Qxmic-avx512 /Qno-offload ! Windows
None